projects
/
pspp
/ 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 227668837d72cf8ec064e84ff16afbe7e5d0ab01..02af6cb6fcd17f3aa78fdbca85b5350622b55380 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_ */