summaryrefslogtreecommitdiff
path: root/lib/mountlist.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-03-15 11:09:10 +0000
committerJim Meyering <jim@meyering.net>1998-03-15 11:09:10 +0000
commitbfbc3ce20cdcfd00c27922c2e78cbff43846fe0d (patch)
tree2045f8cb784dbc4f5cb1cbaf83e0d0b05f7277e2 /lib/mountlist.c
parent0f5f23cb9eac6ee05f0571277298881b91939540 (diff)
downloadcoreutils-bfbc3ce20cdcfd00c27922c2e78cbff43846fe0d.tar.xz
Use #if, not #ifdef with HAVE_ macros
Diffstat (limited to 'lib/mountlist.c')
-rw-r--r--lib/mountlist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/mountlist.c b/lib/mountlist.c
index 5018745a0..68a07cb7c 100644
--- a/lib/mountlist.c
+++ b/lib/mountlist.c
@@ -1,5 +1,5 @@
/* mountlist.c -- return a list of mounted filesystems
- Copyright (C) 1991, 1992, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1991, 1992, 1997, 1998 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#ifdef HAVE_CONFIG_H
+#if HAVE_CONFIG_H
# include <config.h>
#endif
@@ -42,7 +42,7 @@ char *xrealloc ();
char *xstrdup ();
void error ();
-#ifdef HAVE_SYS_PARAM_H
+#if HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif
@@ -101,7 +101,7 @@ void error ();
# define MOUNTED_GETMNTTBL
#endif
-#ifdef HAVE_SYS_MNTENT_H
+#if HAVE_SYS_MNTENT_H
/* This is to get MNTOPT_IGNORE on e.g. SVR4. */
# include <sys/mntent.h>
#endif