mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-12 05:43:03 +00:00
Get files from the gnulib and po repositories, instead of relying
on them being in our CVS. Upgrade to latest versions of gnulib and Automake.
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
*_.c
|
||||
*.flc
|
||||
*.log
|
||||
.deps
|
||||
Makefile
|
||||
bison
|
||||
*.log
|
||||
*.flc
|
||||
Makefile.in
|
||||
bison
|
||||
scan-gram.c
|
||||
scan-skel.c
|
||||
yacc
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* Open and close files for Bison.
|
||||
|
||||
Copyright (C) 1984, 1986, 1989, 1992, 2000, 2001, 2002, 2003
|
||||
Copyright (C) 1984, 1986, 1989, 1992, 2000, 2001, 2002, 2003, 2004
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of Bison, the GNU Compiler Compiler.
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <error.h>
|
||||
#include <get-errno.h>
|
||||
#include <quote.h>
|
||||
#include <xstrndup.h>
|
||||
|
||||
#include "complain.h"
|
||||
#include "files.h"
|
||||
|
||||
20
src/system.h
20
src/system.h
@@ -55,29 +55,15 @@ typedef size_t uintptr_t;
|
||||
|
||||
#include <xalloc.h>
|
||||
#define CALLOC(P, N) ((P) = xcalloc (N, sizeof *(P)))
|
||||
#define MALLOC(P, N) ((P) = xmalloc ((N) * sizeof *(P)))
|
||||
#define REALLOC(P, N) ((P) = xrealloc (P, (N) * sizeof *(P)))
|
||||
|
||||
/* From xstrndup.c. */
|
||||
char *xstrndup (const char *str, size_t size);
|
||||
#define MALLOC(P, N) ((P) = xnmalloc (N, sizeof *(P)))
|
||||
#define REALLOC(P, N) ((P) = xnrealloc (P, N, sizeof *(P)))
|
||||
|
||||
|
||||
/*---------------------.
|
||||
| Missing prototypes. |
|
||||
`---------------------*/
|
||||
|
||||
#if defined HAVE_DECL_STPCPY && !HAVE_DECL_STPCPY
|
||||
char *stpcpy (char *dest, const char *src);
|
||||
#endif
|
||||
|
||||
#if defined HAVE_DECL_STRNLEN && !HAVE_DECL_STRNLEN
|
||||
size_t strnlen (const char *str, size_t maxlen);
|
||||
#endif
|
||||
|
||||
#if defined HAVE_DECL_MEMRCHR && !HAVE_DECL_MEMRCHR
|
||||
void *memrchr (const void *str, int ch, size_t size);
|
||||
#endif
|
||||
|
||||
#include <stpcpy.h>
|
||||
|
||||
|
||||
/*-----------------.
|
||||
|
||||
Reference in New Issue
Block a user