* dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
* dlfcn/defaultmod2.c: Likewise.
* dlfcn/dlopen.c: Likewise.
* dlfcn/dlopenold.c: Likewise.
* dlfcn/failtestmod.c: Likewise.
* dlfcn/glreflib1.c: Likewise.
* dlfcn/glreflib2.c: Likewise.
* dlfcn/eval.c: Likewise. Add attributes.
* ctype/ctype-extn.c: Define isblank and not __isblank.
2000-11-28 Ulrich Drepper <drepper@redhat.com>
+ * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
+ * dlfcn/defaultmod2.c: Likewise.
+ * dlfcn/dlopen.c: Likewise.
+ * dlfcn/dlopenold.c: Likewise.
+ * dlfcn/failtestmod.c: Likewise.
+ * dlfcn/glreflib1.c: Likewise.
+ * dlfcn/glreflib2.c: Likewise.
+ * dlfcn/eval.c: Likewise. Add attributes.
+
+ * ctype/ctype-extn.c: Define isblank and not __isblank.
+
* time/strftime.c: Add const where necessary to avoid warnings.
* time/strptime.c (strptime_internal): Add casts to avoid warnings.
-/* Copyright (C) 1991, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1997, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
#define __NO_CTYPE
#include <ctype.h>
-/* Real function versions of the non-ANSI ctype functions. */
+/* Real function versions of the non-ANSI ctype functions. isblank is
+ now in ISO C99 but we leave it here. */
int
-__isblank (int c)
+isblank (int c)
{
return __isctype (c, _ISblank);
}
-weak_alias (__isblank, isblank)
int
_tolower (int c)
#include <dlfcn.h>
#include <stdio.h>
+extern int found_in_mod1 (void);
int
found_in_mod1 (void)
{
}
+extern int test_in_mod1 (void *mainp);
int
test_in_mod1 (void *mainp)
{
#include <dlfcn.h>
#include <stdio.h>
+extern int found_in_mod1 (void);
int
found_in_mod1 (void)
{
return 1;
}
+extern int found_in_mod2 (void);
int
found_in_mod2 (void)
{
}
+extern int test_in_mod2 (void *mainp);
int
test_in_mod2 (void *mainp)
{
}
+extern void *__dlopen_check (const char *file, int mode);
void *
__dlopen_check (const char *file, int mode)
{
args->caller);
}
+extern void *__dlopen_nocheck (const char *file, int mode);
void *
__dlopen_nocheck (const char *file, int mode)
{
/* You don't really want to know what this hack is for.
- Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
}
+extern void _start (void) __attribute__ ((noreturn));
void
+__attribute__ ((noreturn))
_start (void)
{
char *buf = NULL;
#include <stdio.h>
+extern void constr (void) __attribute__ ((__constructor__));
void
__attribute__ ((__constructor__))
constr (void)
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+extern int ref1 (void);
int
ref1 (void)
{
extern int ref1 (void);
+extern int ref2 (void);
int
ref2 (void)
{