mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Update.
2000-12-17 Andreas Jaeger <aj@suse.de> * elf/vismain.c: Move prototypes for functions in vismod*.c to vismod.h. * elf/vismod.h: New file. * elf/Makefile (distribute): Add vismod.h. * elf/vismod1.c: Include vismod.h. * elf/vismod2.c: Likewise. * elf/vismod3.c: Likewise. * elf/constload3.c: Add prototype declarations to shut up gcc. * elf/failobj.c: Likewise. * elf/nodelmod3.c: Likewise. * elf/filtmod1.c: Likewise. * elf/filtmod2.c: Likewise. * elf/reldepmod1.c: Likewise. * elf/reldepmod2.c: Likewise. * elf/reldepmod3.c: Likewise. * elf/reldepmod4.c: Likewise. * elf/unload2dep.c: Likewise. * elf/unload2mod.c: Likewise. * elf/ltglobmod1.c: Likewise. * elf/pathoptobj.c: Likewise. * locale/programs/ld-collate.c (collate_finish): Don't use labels at end of compound statement. * locale/programs/locale.c (show_info): Likewise. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
This commit is contained in:
parent
9fea9ed65f
commit
715ed1e9a5
29
ChangeLog
29
ChangeLog
@ -1,3 +1,32 @@
|
|||||||
|
2000-12-17 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
|
* elf/vismain.c: Move prototypes for functions in vismod*.c to
|
||||||
|
vismod.h.
|
||||||
|
* elf/vismod.h: New file.
|
||||||
|
* elf/Makefile (distribute): Add vismod.h.
|
||||||
|
* elf/vismod1.c: Include vismod.h.
|
||||||
|
* elf/vismod2.c: Likewise.
|
||||||
|
* elf/vismod3.c: Likewise.
|
||||||
|
|
||||||
|
* elf/constload3.c: Add prototype declarations to shut up gcc.
|
||||||
|
* elf/failobj.c: Likewise.
|
||||||
|
* elf/nodelmod3.c: Likewise.
|
||||||
|
* elf/filtmod1.c: Likewise.
|
||||||
|
* elf/filtmod2.c: Likewise.
|
||||||
|
* elf/reldepmod1.c: Likewise.
|
||||||
|
* elf/reldepmod2.c: Likewise.
|
||||||
|
* elf/reldepmod3.c: Likewise.
|
||||||
|
* elf/reldepmod4.c: Likewise.
|
||||||
|
* elf/unload2dep.c: Likewise.
|
||||||
|
* elf/unload2mod.c: Likewise.
|
||||||
|
* elf/ltglobmod1.c: Likewise.
|
||||||
|
* elf/pathoptobj.c: Likewise.
|
||||||
|
|
||||||
|
* locale/programs/ld-collate.c (collate_finish): Don't use labels
|
||||||
|
at end of compound statement.
|
||||||
|
* locale/programs/locale.c (show_info): Likewise.
|
||||||
|
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
|
||||||
|
|
||||||
2000-12-16 Jakub Jelinek <jakub@redhat.com>
|
2000-12-16 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* catgets/gencat.c (read_input_file): Avoid calling obstack_free
|
* catgets/gencat.c (read_input_file): Avoid calling obstack_free
|
||||||
|
@ -56,7 +56,7 @@ distribute := $(rtld-routines:=.c) dynamic-link.h do-rel.h dl-machine.h \
|
|||||||
nextmod1.c nextmod2.c pathoptobj.c tst-pathopt.sh \
|
nextmod1.c nextmod2.c pathoptobj.c tst-pathopt.sh \
|
||||||
neededobj1.c neededobj2.c neededobj3.c neededobj4.c \
|
neededobj1.c neededobj2.c neededobj3.c neededobj4.c \
|
||||||
unload2mod.c unload2dep.c ltglobmod1.c ltglobmod2.c \
|
unload2mod.c unload2dep.c ltglobmod1.c ltglobmod2.c \
|
||||||
testobj.h
|
testobj.h vismod.h
|
||||||
|
|
||||||
include ../Makeconfig
|
include ../Makeconfig
|
||||||
|
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "vismod.h"
|
||||||
|
|
||||||
/* Prototype for our test function. */
|
/* Prototype for our test function. */
|
||||||
extern int do_test (void);
|
extern int do_test (void);
|
||||||
|
|
||||||
@ -28,31 +30,6 @@ extern int do_test (void);
|
|||||||
/* This defines the `main' function and some more. */
|
/* This defines the `main' function and some more. */
|
||||||
#include <test-skeleton.c>
|
#include <test-skeleton.c>
|
||||||
|
|
||||||
/* Prototypes for the functions in the DSOs. */
|
|
||||||
extern int calllocal1 (void);
|
|
||||||
extern int (*getlocal1 (void)) (void);
|
|
||||||
extern int callinmod1 (void);
|
|
||||||
extern int (*getinmod1 (void)) (void);
|
|
||||||
extern int callitcpt1 (void);
|
|
||||||
extern int (*getitcpt1 (void)) (void);
|
|
||||||
extern const char *getvarlocal1 (void);
|
|
||||||
extern const char *getvarinmod1 (void);
|
|
||||||
extern const char *getvaritcpt1 (void);
|
|
||||||
extern int calllocal2 (void);
|
|
||||||
extern int (*getlocal2 (void)) (void);
|
|
||||||
extern int callinmod2 (void);
|
|
||||||
extern int (*getinmod2 (void)) (void);
|
|
||||||
extern int callitcpt2 (void);
|
|
||||||
extern int (*getitcpt2 (void)) (void);
|
|
||||||
extern const char *getvarlocal2 (void);
|
|
||||||
extern const char *getvarinmod2 (void);
|
|
||||||
extern const char *getvaritcpt2 (void);
|
|
||||||
extern int callitcpt3 (void);
|
|
||||||
extern int (*getitcpt3 (void)) (void);
|
|
||||||
extern const char *getvaritcpt3 (void);
|
|
||||||
|
|
||||||
extern int protinmod (void);
|
|
||||||
extern int protitcpt (void);
|
|
||||||
|
|
||||||
/* Prototypes for local functions. */
|
/* Prototypes for local functions. */
|
||||||
extern int protlocal (void);
|
extern int protlocal (void);
|
||||||
|
27
elf/vismod.h
Normal file
27
elf/vismod.h
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
/* Prototypes for the functions in the DSOs. */
|
||||||
|
extern int calllocal1 (void);
|
||||||
|
extern int (*getlocal1 (void)) (void);
|
||||||
|
extern int callinmod1 (void);
|
||||||
|
extern int (*getinmod1 (void)) (void);
|
||||||
|
extern int callitcpt1 (void);
|
||||||
|
extern int (*getitcpt1 (void)) (void);
|
||||||
|
extern const char *getvarlocal1 (void);
|
||||||
|
extern const char *getvarinmod1 (void);
|
||||||
|
extern const char *getvaritcpt1 (void);
|
||||||
|
extern int calllocal2 (void);
|
||||||
|
extern int (*getlocal2 (void)) (void);
|
||||||
|
extern int callinmod2 (void);
|
||||||
|
extern int (*getinmod2 (void)) (void);
|
||||||
|
extern int callitcpt2 (void);
|
||||||
|
extern int (*getitcpt2 (void)) (void);
|
||||||
|
extern const char *getvarlocal2 (void);
|
||||||
|
extern const char *getvarinmod2 (void);
|
||||||
|
extern const char *getvaritcpt2 (void);
|
||||||
|
extern int callitcpt3 (void);
|
||||||
|
extern int (*getitcpt3 (void)) (void);
|
||||||
|
extern const char *getvaritcpt3 (void);
|
||||||
|
|
||||||
|
extern int protinmod (void);
|
||||||
|
extern int protitcpt (void);
|
||||||
|
extern int protlocal (void);
|
||||||
|
|
@ -16,6 +16,8 @@
|
|||||||
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
|
#include "vismod.h"
|
||||||
|
|
||||||
int
|
int
|
||||||
protlocal (void)
|
protlocal (void)
|
||||||
{
|
{
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include "vismod.h"
|
||||||
|
|
||||||
int
|
int
|
||||||
protlocal (void)
|
protlocal (void)
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
|
#include "vismod.h"
|
||||||
|
|
||||||
int
|
int
|
||||||
protitcpt (void)
|
protitcpt (void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user