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.
This commit is contained in:
Ulrich Drepper 2000-02-25 17:08:15 +00:00
parent bba09d234b
commit a53e3292a4
9 changed files with 32 additions and 14 deletions

View File

@ -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",

View 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)

View 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.

View 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)

View 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,

View 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

View 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;
};

View 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;
};

View 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;
};