X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/234a3be30308bdf67bda1fe67fce08f3cc55e749..180d45ba81510aee0de19f20fc6069b9681abe3c:/src/system.h diff --git a/src/system.h b/src/system.h index 83e2b0a5..f5724789 100644 --- a/src/system.h +++ b/src/system.h @@ -73,6 +73,26 @@ extern int errno; # 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. | `-----------------*/