Commit 501855a7 authored by Petr Machata's avatar Petr Machata Committed by Petr Machata

Fix warnings in compilation of test-suite cases

parent 6b6c2c36
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
Objectives : Verify that ltrace can trace user defined signal. Objectives : Verify that ltrace can trace user defined signal.
This file was written by Yao Qi <[email protected]>. */ This file was written by Yao Qi <[email protected]>. */
#include<stdio.h> #include <stdio.h>
#include<signal.h> #include <signal.h>
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h>
#define LOOP 7 #define LOOP 7
......
# This file is part of ltrace. # This file is part of ltrace.
# Copyright (C) 2013 Petr Machata, Red Hat Inc. # Copyright (C) 2013, 2015 Petr Machata, Red Hat Inc.
# #
# This program is free software; you can redistribute it and/or # This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as # modify it under the terms of the GNU General Public License as
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
# 02110-1301 USA # 02110-1301 USA
set bin [ltraceCompile {} [ltraceSource c { set bin [ltraceCompile {} [ltraceSource c {
#define _XOPEN_SOURCE
#include <sys/time.h> #include <sys/time.h>
#include <assert.h> #include <assert.h>
#include <locale.h> #include <locale.h>
......
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
Objectives : Verify that ltrace can trace user defined signal. Objectives : Verify that ltrace can trace user defined signal.
This file was written by Yao Qi <[email protected]>. */ This file was written by Yao Qi <[email protected]>. */
#include<stdio.h> #include <stdio.h>
#include<signal.h> #include <signal.h>
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h>
#define LOOP 20 #define LOOP 20
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment