projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38d7b51
)
Don't declare strdup if it's defined as a macro.
author
Jim Meyering
<jim@meyering.net>
Sun, 10 May 1998 16:04:39 +0000
(16:04 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 10 May 1998 16:04:39 +0000
(16:04 +0000)
Reported by Lorne Baker.
lib/userspec.c
patch
|
blob
|
history
diff --git
a/lib/userspec.c
b/lib/userspec.c
index
e73bee9
..
dd1d88a
100644
(file)
--- a/
lib/userspec.c
+++ b/
lib/userspec.c
@@
-85,7
+85,9
@@
struct group *getgrgid ();
#define isdigit(c) ((c) >= '0' && (c) <= '9')
+#ifndef strdup
char *strdup ();
+#endif
/* Return nonzero if STR represents an unsigned decimal integer,
otherwise return 0. */