summaryrefslogtreecommitdiffstats
path: root/testsuites/fstests/support
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-09-30 03:07:21 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-09-30 03:07:21 +0000
commit32448524b6cfb42ec0c8b51f75f679e9ce2b0f98 (patch)
treebe1abcf13cb95d3bcefa35775fbc61fa63c607b2 /testsuites/fstests/support
parent2011-09-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-32448524b6cfb42ec0c8b51f75f679e9ce2b0f98.tar.bz2
2011-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* fserror/test.c, fslink/test.c, fspatheval/test.c, fspermission/test.c, fsrdwr/init.c, fssymlink/test.c, fstime/test.c, support/fstest_support.c, support/ramdisk_support.c: Explicitly include "pmacros.h". * support/fstest.h: Don't include "pmacros.h".
Diffstat (limited to 'testsuites/fstests/support')
-rw-r--r--testsuites/fstests/support/fstest.h2
-rw-r--r--testsuites/fstests/support/fstest_support.c2
-rw-r--r--testsuites/fstests/support/ramdisk_support.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/fstests/support/fstest.h b/testsuites/fstests/support/fstest.h
index 27402873b7..6342f75a21 100644
--- a/testsuites/fstests/support/fstest.h
+++ b/testsuites/fstests/support/fstest.h
@@ -12,8 +12,6 @@
#ifndef __FSTEST_H
#define __FSTEST_H
-#include "pmacros.h"
-
#define TIME_PRECISION (2)
#define TIME_EQUAL(x,y) (abs((x)-(y))<TIME_PRECISION)
diff --git a/testsuites/fstests/support/fstest_support.c b/testsuites/fstests/support/fstest_support.c
index 2718915c56..5d8dd4c36a 100644
--- a/testsuites/fstests/support/fstest_support.c
+++ b/testsuites/fstests/support/fstest_support.c
@@ -18,6 +18,7 @@
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
+#include <stdlib.h> /* exit */
#include <sys/stat.h>
#include <sys/types.h>
@@ -27,6 +28,7 @@
#include "fs_config.h"
#include "fstest.h"
+#include "pmacros.h"
#define TEMP_DIR "waterbuffalo"
diff --git a/testsuites/fstests/support/ramdisk_support.c b/testsuites/fstests/support/ramdisk_support.c
index 9a0d7556b7..02459ab939 100644
--- a/testsuites/fstests/support/ramdisk_support.c
+++ b/testsuites/fstests/support/ramdisk_support.c
@@ -19,6 +19,8 @@
#include "ramdisk_support.h"
#include "fstest.h"
+#include "pmacros.h"
+
/*
* Ramdisk information
*/