diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2009-11-26 18:36:14 +0100 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2009-11-26 18:47:42 +0100 |
commit | 589387d19f6e4179d6675b7585ffa5455d079582 (patch) | |
tree | f36494cf2fc515429c9aeaca5c7be7d2c39f73ba /src/system.h | |
parent | 171fadd3f809d69aa12ae84fabeb9c73c6f3d343 (diff) | |
download | grep-589387d19f6e4179d6675b7585ffa5455d079582.tar.gz |
add gnulib modules
* bootstrap.conf: Add gnulib modules and build libgreputils.a.
* configure.ac: Remove macros subsumed by gnulib.
* lib/Makefile.am: Remove files subsumed by gnulib.
* lib/alloca.c: Remove.
* lib/atexit.c: Remove.
* lib/error.c: Remove.
* lib/error.h: Remove.
* lib/fnmatch.c: Remove.
* lib/fnmatch.h: Remove.
* lib/getopt.c: Remove.
* lib/getopt.h: Remove.
* lib/getopt1.c: Remove.
* lib/gettext.h: Remove.
* lib/malloc.c: Remove.
* lib/memchr.c: Remove.
* lib/obstack.c: Remove.
* lib/obstack.h: Remove.
* lib/quotearg.c: Remove.
* lib/quotearg.h: Remove.
* lib/realloc.c: Remove.
* lib/stpcpy.c: Remove.
* lib/strtol.c: Remove.
* lib/strtoul.c: Remove.
* lib/strtoull.c: Remove.
* lib/xalloc.h: Remove.
* lib/xmalloc.c: Remove.
* lib/xstrtol.c: Remove.
* lib/xstrtol.h: Remove.
* lib/xstrtoumax.c: Remove.
* m4/error.m4: Remove.
* m4/inttypes_h.m4: Remove.
* m4/malloc.m4: Remove.
* m4/realloc.m4: Remove.
* m4/uintmax_t.m4: Remove.
* m4/ulonglong.m4: Remove.
* m4/xstrtoumax.m4: Remove.
* src/system.h: Remove strerror, sys_nerr, sys_errlist.
Diffstat (limited to 'src/system.h')
-rw-r--r-- | src/system.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/system.h b/src/system.h index 0f0defda..c63039c8 100644 --- a/src/system.h +++ b/src/system.h @@ -46,12 +46,6 @@ int open(), read(), close(); extern int errno; #endif -#ifndef HAVE_STRERROR -extern int sys_nerr; -extern char *sys_errlist[]; -# define strerror(E) (0 <= (E) && (E) < sys_nerr ? _(sys_errlist[E]) : _("Unknown system error")) -#endif - /* Some operating systems treat text and binary files differently. */ #ifdef __BEOS__ # undef O_BINARY /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */ |