diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-02-25 17:08:15 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-02-25 17:08:15 +0000 |
commit | a53e3292a4e94fb81d4870cd1b029a3cbf580c65 (patch) | |
tree | b8495772454dd833542401aa3686ebf5a5814234 /posix | |
parent | bba09d234b3cfaa311809278c4252fc906f06de2 (diff) | |
download | glibc-a53e3292a4e94fb81d4870cd1b029a3cbf580c65.tar glibc-a53e3292a4e94fb81d4870cd1b029a3cbf580c65.tar.gz glibc-a53e3292a4e94fb81d4870cd1b029a3cbf580c65.tar.bz2 glibc-a53e3292a4e94fb81d4870cd1b029a3cbf580c65.zip |
Update.
2000-02-25 Andreas Jaeger <aj@suse.de>
* stdio-common/Makefile (CFLAGS-_itoa.c): The code has been
fixed, we don't need to disable the warnings anymore, remove them.
* elf/Makefile (CFLAGS-dl-load.c): Likewise.
* posix/Makefile (CFLAGS-regex.c): Remove not needed warning
flag.
* posix/regex.c (regex_compile): Remove unused variables.
2000-02-25 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/bits/msq.h (struct msqid_ds): Use
__pid_t.
* sysdeps/unix/sysv/linux/alpha/bits/msq.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2000-02-25 Andreas Jaeger <aj@suse.de>
* locale/programs/ld-ctype.c (allocate_arrays): Add missing
variable declaration.
Diffstat (limited to 'posix')
-rw-r--r-- | posix/Makefile | 2 | ||||
-rw-r--r-- | posix/regex.c | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/posix/Makefile b/posix/Makefile index 674277e48b..022b45509b 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -91,7 +91,7 @@ do-wordexp-test: $(objpfx)wordexp-test endif endif -CFLAGS-regex.c = -Wno-unused -Wno-strict-prototypes -DDEBUG +CFLAGS-regex.c = -Wno-strict-prototypes -DDEBUG CFLAGS-getaddrinfo.c = -DRESOLVER $(objpfx)libposix.a: $(dep-dummy-lib); $(make-dummy-lib) diff --git a/posix/regex.c b/posix/regex.c index 2f3a9b5b8f..507ac86545 100644 --- a/posix/regex.c +++ b/posix/regex.c @@ -2448,7 +2448,6 @@ regex_compile (pattern, size, syntax, bufp) const int32_t *indirect; int32_t idx; const unsigned char *cp = str; - int32_t weight; int ch; /* This #include defines a local function! */ @@ -2584,11 +2583,8 @@ regex_compile (pattern, size, syntax, bufp) const unsigned char *extra; int32_t idx; int32_t elem; - const unsigned char *cp = str; - int32_t weight; int32_t second; int32_t hash; - int ch; table_size = _NL_CURRENT_WORD (LC_COLLATE, |