summaryrefslogtreecommitdiff
path: root/disk-utils
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2009-10-08 13:40:07 +0200
committerKarel Zak <kzak@redhat.com>2009-10-09 14:57:48 +0200
commite79829db464dece64a698f913c98154a4bf7db0b (patch)
tree8c99982d6c82753a8e38b39462aa141a8223b63e /disk-utils
parent85b4c147718e0618a0747c8e42c83648350725a0 (diff)
downloadutil-linux-old-e79829db464dece64a698f913c98154a4bf7db0b.tar.gz
build-sys: detect if volatile is available
Do not defined volatile away on non-Linux systems, detect its presence using AC_C_VOLATILE instead. Signed-off-by: Guillem Jover <guillem@hadrons.org>
Diffstat (limited to 'disk-utils')
-rw-r--r--disk-utils/fsck.minix.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/disk-utils/fsck.minix.c b/disk-utils/fsck.minix.c
index af54c987..c9bd6535 100644
--- a/disk-utils/fsck.minix.c
+++ b/disk-utils/fsck.minix.c
@@ -107,10 +107,6 @@
#include "nls.h"
#include "pathnames.h"
-#ifndef __linux__
-#define volatile
-#endif
-
#define ROOT_INO 1
#define UPPER(size,n) ((size+((n)-1))/(n))