projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e4bc4b
)
(PARAMS): Define.
author
Jim Meyering
<jim@meyering.net>
Sun, 14 Sep 1997 03:36:38 +0000
(
03:36
+0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 14 Sep 1997 03:36:38 +0000
(
03:36
+0000)
Guard prototype with PARAMS.
lib/strverscmp.h
patch
|
blob
|
history
diff --git
a/lib/strverscmp.h
b/lib/strverscmp.h
index
2276688
..
02af6cb
100644
(file)
--- a/
lib/strverscmp.h
+++ b/
lib/strverscmp.h
@@
-7,6
+7,14
@@
# include <config.h>
# endif
-int strverscmp (const char*, const char*);
+# ifndef PARAMS
+# if defined (__GNUC__) || __STDC__
+# define PARAMS(args) args
+# else
+# define PARAMS(args) ()
+# endif
+# endif
+
+int strverscmp PARAMS ((const char*, const char*));
#endif /* not STRVERSCMP_H_ */