summaryrefslogtreecommitdiff
path: root/lib/makepath.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-13 13:10:38 +0000
committerJim Meyering <jim@meyering.net>1995-05-13 13:10:38 +0000
commit5a69bc6e5fa05cf5c3ebc2677b43023b857a9a22 (patch)
tree366dd1410ee9a5515a89ea797d9c86155dde2233 /lib/makepath.h
parente8bfedbcd48239123f819ac2f567fb0799f7d7cd (diff)
downloadcoreutils-5a69bc6e5fa05cf5c3ebc2677b43023b857a9a22.tar.xz
Undef __P before defining.
Guard definition with simpler `#if __STDC__'.
Diffstat (limited to 'lib/makepath.h')
-rw-r--r--lib/makepath.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/makepath.h b/lib/makepath.h
index f555d7b4b..2756446c8 100644
--- a/lib/makepath.h
+++ b/lib/makepath.h
@@ -1,10 +1,9 @@
-#ifndef __P
-#if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
+#if __STDC__
+#undef __P
#define __P(args) args
#else
#define __P(args) ()
-#endif /* GCC. */
-#endif /* Not __P. */
+#endif
int
make_path __P ((const char *_argpath,