Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 25 Feb 2000 17:08:15 +0000 (17:08 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 25 Feb 2000 17:08:15 +0000 (17:08 +0000)
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.

ChangeLog
elf/Makefile
locale/programs/ld-ctype.c
posix/Makefile
posix/regex.c
stdio-common/Makefile
sysdeps/unix/sysv/linux/alpha/bits/msq.h
sysdeps/unix/sysv/linux/bits/msq.h
sysdeps/unix/sysv/linux/sparc/bits/msq.h

index a17b1e8..2198686 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,26 @@
+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.
+
 2000-02-25  Ulrich Drepper  <drepper@redhat.com>
 
        * conform/conformtest.pl (@headers): Add "sys/msg.h", "sys/mman.h",
index 422d278..b262418 100644 (file)
@@ -153,7 +153,6 @@ $(objpfx)trusted-dirs.st: Makefile $(..)Makeconfig
        $(move-if-change) ${@:st=T} ${@:st=h}
        touch $@
 CPPFLAGS-dl-load.c = -I$(objpfx).
-CFLAGS-dl-load.c += -Wno-uninitialized
 
 ifeq (yes,$(build-shared))
 $(inst_slibdir)/$(rtld-version-installed-name): $(objpfx)ld.so $(+force)
index dbd030c..b0b9144 100644 (file)
@@ -3050,7 +3050,8 @@ allocate_arrays (struct locale_ctype_t *ctype, struct charmap_t *charmap,
                 struct repertoire_t *repertoire)
 {
   size_t idx;
-
+  size_t width_table_size;
+  
   /* First we have to decide how we organize the arrays.  It is easy
      for a one-byte character set.  But multi-byte character set
      cannot be stored flat because the chars might be sparsely used.
index 674277e..022b455 100644 (file)
@@ -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)
index 2f3a9b5..507ac86 100644 (file)
@@ -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,
index d2f5188..c93ead6 100644 (file)
@@ -59,7 +59,6 @@ tests := tst-printf tstscanf test_rdwr test-popen tstgetln test-fseek \
 include ../Rules
 
 CFLAGS-vfprintf.c = -Wno-uninitialized
-CFLAGS-_itoa.c = -Wno-unused
 CFLAGS-tst-printf.c = -Wno-format
 CFLAGS-tstdiomisc.c = -Wno-format
 CFLAGS-scanf4.c = -Wno-format
index 3ca076e..9271ce6 100644 (file)
@@ -44,8 +44,8 @@ struct msqid_ds
   unsigned long int __msg_cbytes; /* current number of bytes on queue */
   msgqnum_t msg_qnum;          /* number of messages currently on queue */
   msglen_t msg_qbytes;         /* max number of bytes allowed on queue */
-  pid_t msg_lspid;             /* pid of last msgsnd() */
-  pid_t msg_lrpid;             /* pid of last msgrcv() */
+  __pid_t msg_lspid;           /* pid of last msgsnd() */
+  __pid_t msg_lrpid;           /* pid of last msgrcv() */
   unsigned long int __unused1;
   unsigned long int __unused2;
 };
index 840ddd6..7088ae2 100644 (file)
@@ -47,8 +47,8 @@ struct msqid_ds
   unsigned long int __msg_cbytes; /* current number of bytes on queue */
   msgqnum_t msg_qnum;          /* number of messages currently on queue */
   msglen_t msg_qbytes;         /* max number of bytes allowed on queue */
-  pid_t msg_lspid;             /* pid of last msgsnd() */
-  pid_t msg_lrpid;             /* pid of last msgrcv() */
+  __pid_t msg_lspid;           /* pid of last msgsnd() */
+  __pid_t msg_lrpid;           /* pid of last msgrcv() */
   unsigned long int __unused4;
   unsigned long int __unused5;
 };
index 6b32ef9..ea30728 100644 (file)
@@ -54,8 +54,8 @@ struct msqid_ds
   unsigned long int __msg_cbytes; /* current number of bytes on queue */
   msgqnum_t msg_qnum;          /* number of messages currently on queue */
   msglen_t msg_qbytes;         /* max number of bytes allowed on queue */
-  pid_t msg_lspid;             /* pid of last msgsnd() */
-  pid_t msg_lrpid;             /* pid of last msgrcv() */
+  __pid_t msg_lspid;           /* pid of last msgsnd() */
+  __pid_t msg_lrpid;           /* pid of last msgrcv() */
   unsigned long int __unused1;
   unsigned long int __unused2;
 };