Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
	* elf/dl-minimal.c: Add prototypes.

	* include/locale.h: Add internal prototypes.
	* include/sys/gmon.h: Likewise.
  • Loading branch information
Andreas Jaeger committed Dec 28, 2000
1 parent a7cfa34 commit 728c24f
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
2000-12-28 Andreas Jaeger <aj@suse.de>

* elf/dl-minimal.c: Add prototypes.

* include/locale.h: Add internal prototypes.
* include/sys/gmon.h: Likewise.

* dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.

2000-12-27 Ben Collins <bcollins@debian.org>
Expand Down
14 changes: 14 additions & 0 deletions elf/dl-minimal.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,20 @@

static void *alloc_ptr, *alloc_end, *alloc_last_block;

/* Declarations of global functions. */
extern void weak_function free (void *ptr);
extern void * weak_function realloc (void *ptr, size_t n);
extern long int weak_function __strtol_internal (const char *nptr,
char **endptr,
int base, int group);
extern long int weak_function strtol (const char *nptr, char **endptr,
int base);
extern unsigned long int weak_function __strtoul_internal
(const char *nptr, char **endptr, int base, int group);
extern unsigned long int weak_function strtoul (const char *nptr,
char **endptr, int base);


void * weak_function
malloc (size_t n)
{
Expand Down
6 changes: 6 additions & 0 deletions include/locale.h
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
#ifndef _LOCALE_H
#include <locale/locale.h>

/* Now define the internal interfaces. */
extern struct lconv *__localeconv (void);

#endif
6 changes: 6 additions & 0 deletions include/sys/gmon.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,10 @@
/* Write current profiling data to file. */
extern void __write_profiling (void);
extern void write_profiling (void);

struct __bb;
extern void __bb_init_func (struct __bb *bb);
extern void __bb_exit_func (void);


#endif

0 comments on commit 728c24f

Please sign in to comment.