bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: Missing decls


From: Akim Demaille
Subject: FYI: Missing decls
Date: 10 Aug 2001 11:39:59 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Academic Rigor)

I'm applying this.  If the problem remains, please ping me again.
The configure.in part was already ready.

Oh, please people, when you change something, be sure to run `make'
before committing; Robert for instance, your info files were not up to
date.

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * src/system.h: Provide default declarations for stpcpy, strndup,
        and strnlen.

        * doc/bison.texinfo: Change @samp{$<@dots{}>} to
        (node_output_size): New global variable. Simplify the formatting of
        (print_actions): Unused code is now used. It notifies the final state
        The `shift and goto' edges are red and the `go to state' edges are
Index: src/system.h
===================================================================
RCS file: /cvs/bison/src/system.h,v
retrieving revision 1.22
diff -u -u -r1.22 system.h
--- src/system.h 2001/08/01 18:08:48 1.22
+++ src/system.h 2001/08/10 09:35:10
@@ -73,6 +73,26 @@
 # define PARAMS(p) ()
 #endif
 
+
+
+/*---------------------.
+| Missing prototypes.  |
+`---------------------*/
+
+#if !HAVE_DECL_STPCPY
+char *stpcpy PARAMS ((char *dest, const char *src));
+#endif
+
+#if !HAVE_DECL_STRNDUP
+char *strndup PARAMS ((const char *s, size_t size));
+#endif
+
+#if !HAVE_DECL_STRNLEN
+size_t strnlen PARAMS ((const char *s, size_t maxlen));
+#endif
+
+
+
 /*-----------------.
 | GCC extensions.  |
 `-----------------*/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]