Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/gawk Deal with the strlen() problem in this program...
details: https://anonhg.NetBSD.org/src/rev/bd9c1e026bb1
branches: trunk
changeset: 474056:bd9c1e026bb1
user: ross <ross%NetBSD.org@localhost>
date: Sun Jun 27 06:14:51 1999 +0000
description:
Deal with the strlen() problem in this program which apparently can't just
include <string.h> ... sigh ...
diffstat:
gnu/dist/gawk/getopt.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r e89ecba024ff -r bd9c1e026bb1 gnu/dist/gawk/getopt.c
--- a/gnu/dist/gawk/getopt.c Sun Jun 27 05:49:02 1999 +0000
+++ b/gnu/dist/gawk/getopt.c Sun Jun 27 06:14:51 1999 +0000
@@ -235,6 +235,8 @@
/* gcc with -traditional declares the built-in strlen to return int,
and has done so at least since version 2.4.5. -- rms. */
extern int strlen (const char *);
+#else /* __STDC__ */
+extern size_t strlen (const char *);
#endif /* not __STDC__ */
#endif /* __GNUC__ */
Home |
Main Index |
Thread Index |
Old Index