mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 14:00:30 +00:00
Update.
2002-03-03 Andreas Jaeger <aj@suse.de> * elf/nodlopenmod2.c: Provide prototype to avoid warning. * elf/tst-tlsmod1.c: Likewise. * posix/regcomp.c: Get regex.h from include dir for internal prototypes. * sysdeps/unix/sysv/linux/init-first.c: Move __init_misc prototype to libc-internal.h and include it. * include/libc-internal.h: Add __init_misc. * misc/init-misc.c: Include libc-internal.h for prototypes. * sysdeps/wordsize-32/divdi3.c: Add prototypes to avoid warnings. * misc/error.c [_LIBC]: Include libioP.h for prototype of _IO_putc_internal.
This commit is contained in:
parent
1bd8ff7b32
commit
37de950b40
19
ChangeLog
19
ChangeLog
@ -1,3 +1,22 @@
|
|||||||
|
2002-03-03 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
|
* elf/nodlopenmod2.c: Provide prototype to avoid warning.
|
||||||
|
* elf/tst-tlsmod1.c: Likewise.
|
||||||
|
|
||||||
|
* posix/regcomp.c: Get regex.h from include dir for internal
|
||||||
|
prototypes.
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/init-first.c: Move __init_misc prototype
|
||||||
|
to libc-internal.h and include it.
|
||||||
|
* include/libc-internal.h: Add __init_misc.
|
||||||
|
|
||||||
|
* misc/init-misc.c: Include libc-internal.h for prototypes.
|
||||||
|
|
||||||
|
* sysdeps/wordsize-32/divdi3.c: Add prototypes to avoid warnings.
|
||||||
|
|
||||||
|
* misc/error.c [_LIBC]: Include libioP.h for prototype of
|
||||||
|
_IO_putc_internal.
|
||||||
|
|
||||||
2002-03-03 Ulrich Drepper <drepper@redhat.com>
|
2002-03-03 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* posix/regcomp.c: Compatibility changes to allow using the code
|
* posix/regcomp.c: Compatibility changes to allow using the code
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
extern int a;
|
extern int a;
|
||||||
|
|
||||||
|
extern int foo (void);
|
||||||
|
|
||||||
int
|
int
|
||||||
foo (void)
|
foo (void)
|
||||||
{
|
{
|
||||||
|
@ -12,6 +12,7 @@ VAR_INT_DEF(bar);
|
|||||||
VAR_INT_DECL(baz);
|
VAR_INT_DECL(baz);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern int in_dso (void);
|
||||||
|
|
||||||
int
|
int
|
||||||
in_dso (void)
|
in_dso (void)
|
||||||
|
@ -26,4 +26,7 @@ extern hp_timing_t __get_clockfreq (void);
|
|||||||
/* Free all allocated resources. */
|
/* Free all allocated resources. */
|
||||||
extern void __libc_freeres (void);
|
extern void __libc_freeres (void);
|
||||||
|
|
||||||
|
/* Define and initialize `__progname' et. al. */
|
||||||
|
extern void __init_misc (int, char **, char **);
|
||||||
|
|
||||||
#endif /* _LIBC_INTERNAL */
|
#endif /* _LIBC_INTERNAL */
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2002-03-03 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
|
* thread_dbP.h: Include <unistd.h> for prototypes of __libc_write.
|
||||||
|
|
||||||
2002-02-04 Ulrich Drepper <drepper@redhat.com>
|
2002-02-04 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* thread_dbP.h: Include descr.h instead of internals.h.
|
* thread_dbP.h: Include descr.h instead of internals.h.
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
#define _THREAD_DBP_H 1
|
#define _THREAD_DBP_H 1
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include "proc_service.h"
|
#include "proc_service.h"
|
||||||
#include "thread_db.h"
|
#include "thread_db.h"
|
||||||
#include "../linuxthreads/descr.h"
|
#include "../linuxthreads/descr.h"
|
||||||
|
@ -74,6 +74,7 @@ unsigned int error_message_count;
|
|||||||
|
|
||||||
# define program_name program_invocation_name
|
# define program_name program_invocation_name
|
||||||
# include <errno.h>
|
# include <errno.h>
|
||||||
|
# include <libio/libioP.h>
|
||||||
|
|
||||||
/* In GNU libc we want do not want to use the common name `error' directly.
|
/* In GNU libc we want do not want to use the common name `error' directly.
|
||||||
Instead make it a weak alias. */
|
Instead make it a weak alias. */
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
02111-1307 USA. */
|
02111-1307 USA. */
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <libc-internal.h>
|
||||||
|
|
||||||
char *__progname_full = (char *) "";
|
char *__progname_full = (char *) "";
|
||||||
char *__progname = (char *) "";
|
char *__progname = (char *) "";
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
# define gettext_noop(String) String
|
# define gettext_noop(String) String
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "regex.h"
|
#include <regex.h>
|
||||||
#include "regex_internal.h"
|
#include "regex_internal.h"
|
||||||
|
|
||||||
static reg_errcode_t re_compile_internal (regex_t *preg, const char * pattern,
|
static reg_errcode_t re_compile_internal (regex_t *preg, const char * pattern,
|
||||||
|
@ -33,8 +33,6 @@
|
|||||||
# include "dl-osinfo.h"
|
# include "dl-osinfo.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void __init_misc (int, char **, char **);
|
|
||||||
|
|
||||||
/* The function is called from assembly stubs the compiler can't see. */
|
/* The function is called from assembly stubs the compiler can't see. */
|
||||||
static void init (int, char **, char **) __attribute__ ((unused));
|
static void init (int, char **, char **) __attribute__ ((unused));
|
||||||
|
|
||||||
|
@ -50,6 +50,12 @@ struct DWstruct { Wtype low, high;};
|
|||||||
#endif
|
#endif
|
||||||
typedef union { struct DWstruct s; DWtype ll; } DWunion;
|
typedef union { struct DWstruct s; DWtype ll; } DWunion;
|
||||||
|
|
||||||
|
/* Prototypes of exported functions. */
|
||||||
|
extern DWtype __divdi3 (DWtype u, DWtype v);
|
||||||
|
extern DWtype __moddi3 (DWtype u, DWtype v);
|
||||||
|
extern UDWtype __udivdi3 (UDWtype u, UDWtype v);
|
||||||
|
extern UDWtype __umoddi3 (UDWtype u, UDWtype v);
|
||||||
|
|
||||||
static UDWtype
|
static UDWtype
|
||||||
__udivmoddi4 (UDWtype n, UDWtype d, UDWtype *rp)
|
__udivmoddi4 (UDWtype n, UDWtype d, UDWtype *rp)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user