about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-02-25 17:08:15 +0000
committerUlrich Drepper <drepper@redhat.com>2000-02-25 17:08:15 +0000
commita53e3292a4e94fb81d4870cd1b029a3cbf580c65 (patch)
treeb8495772454dd833542401aa3686ebf5a5814234
parentbba09d234b3cfaa311809278c4252fc906f06de2 (diff)
downloadglibc-a53e3292a4e94fb81d4870cd1b029a3cbf580c65.tar.gz
glibc-a53e3292a4e94fb81d4870cd1b029a3cbf580c65.tar.xz
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.
-rw-r--r--ChangeLog23
-rw-r--r--elf/Makefile1
-rw-r--r--locale/programs/ld-ctype.c3
-rw-r--r--posix/Makefile2
-rw-r--r--posix/regex.c4
-rw-r--r--stdio-common/Makefile1
-rw-r--r--sysdeps/unix/sysv/linux/alpha/bits/msq.h4
-rw-r--r--sysdeps/unix/sysv/linux/bits/msq.h4
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/msq.h4
9 files changed, 32 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index a17b1e8666..2198686e51 100644
--- 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",
diff --git a/elf/Makefile b/elf/Makefile
index 422d278ce2..b262418d19 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -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)
diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
index dbd030c78e..b0b9144c14 100644
--- a/locale/programs/ld-ctype.c
+++ b/locale/programs/ld-ctype.c
@@ -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.
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,
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index d2f51888e4..c93ead6454 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -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
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/msq.h b/sysdeps/unix/sysv/linux/alpha/bits/msq.h
index 3ca076e9f9..9271ce69d7 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/msq.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/msq.h
@@ -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;
 };
diff --git a/sysdeps/unix/sysv/linux/bits/msq.h b/sysdeps/unix/sysv/linux/bits/msq.h
index 840ddd6a8f..7088ae2097 100644
--- a/sysdeps/unix/sysv/linux/bits/msq.h
+++ b/sysdeps/unix/sysv/linux/bits/msq.h
@@ -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;
 };
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/msq.h b/sysdeps/unix/sysv/linux/sparc/bits/msq.h
index 6b32ef94c4..ea307289d3 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/msq.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/msq.h
@@ -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;
 };