summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-31 18:51:25 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-31 18:51:25 +0000
commitd8cf93f489282ed4dd0b727e9efd9efef192e952 (patch)
tree18872eaa470b0651e1071fb9c2b187cc1745f566 /elf
parent3216711f5d4cdfcafd10377f479937cf360e2c69 (diff)
downloadglibc-d8cf93f489282ed4dd0b727e9efd9efef192e952.tar.gz
glibc-d8cf93f489282ed4dd0b727e9efd9efef192e952.tar.xz
glibc-d8cf93f489282ed4dd0b727e9efd9efef192e952.zip
Update.
1999-12-31  Andreas Jaeger  <aj@suse.de>

	* libio/strfile.h: Remove K&R compatibility.
	* locale/langinfo.h: Likewise.
	* locale/localeconv.c (localeconv): Likewise.
	* locale/programs/simple-hash.h: Likewise.
	* nis/nis_xdr.h: Likewise.
	* nis/rpcsvc/nislib.h: Likewise.
	* nis/rpcsvc/nis_callback.h: Likewise.
	* nis/rpcsvc/nis.h: Likewise.
	* nis/ypclnt.c: Likewise.
	* nscd/nscd_proto.h: Likewise.
	* nscd/nscd.c: Likewise.
	* sysdeps/generic/inttypes.h: Likewise.
	* sysdeps/gnu/utmpx.h: Likewise.

	* nis/nis_intern.h: Remove K&R compatibility; add missing ints.
	* sunrpc/rpcsvc/rusers.x: Likewise.

	* nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat.

	* elf/dl-misc.c: Remove __libc_write prototype since it's already
	in include/unistd.h.
	* elf/dl-profile.c: Likewise.
	* elf/dl-load.c: Likewise for __libc_read.

	* elf/dl-profile.c: Remove __P.
	* elf/sprof.c: Likewise.
	* elf/sln.c: Likewise.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-load.c3
-rw-r--r--elf/dl-misc.c6
-rw-r--r--elf/dl-profile.c8
-rw-r--r--elf/sln.c6
-rw-r--r--elf/sprof.c2
5 files changed, 7 insertions, 18 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index cf015a2d3d..4651a45265 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -128,9 +128,6 @@ static const size_t system_dirs_len[] =
   SYSTEM_DIRS_LEN
 };
 
-/* This function has no public prototype.  */
-extern ssize_t __libc_read (int, void *, size_t);
-
 
 /* Local version of `strdup' function.  */
 static inline char *
diff --git a/elf/dl-misc.c b/elf/dl-misc.c
index 8a441c0a3a..63f9266422 100644
--- a/elf/dl-misc.c
+++ b/elf/dl-misc.c
@@ -1,5 +1,5 @@
 /* Miscellaneous support functions for dynamic linker
-   Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998, 1999 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
@@ -27,10 +27,6 @@
 #include <sys/stat.h>
 #include <stdio-common/_itoa.h>
 
-/* We have prototype anywhere.  */
-extern ssize_t __libc_write __P ((int __fd, __const __ptr_t __buf,
-				  size_t __n));
-
 #ifndef MAP_ANON
 /* This is the only dl-sysdep.c function that is actually needed at run-time
    by _dl_map_object.  */
diff --git a/elf/dl-profile.c b/elf/dl-profile.c
index a9f8dd6226..2ee2dd5aa3 100644
--- a/elf/dl-profile.c
+++ b/elf/dl-profile.c
@@ -1,5 +1,5 @@
 /* Profiling of shared libraries.
-   Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
    Based on the BSD mcount implementation.
@@ -35,10 +35,6 @@
 #include <sys/stat.h>
 #include <atomicity.h>
 
-/* We have prototype anywhere.  */
-extern ssize_t __libc_write __P ((int __fd, __const __ptr_t __buf,
-				  size_t __n));
-
 /* The LD_PROFILE feature has to be implemented different to the
    normal profiling using the gmon/ functions.  The problem is that an
    arbitrary amount of processes simulataneously can be run using
@@ -124,7 +120,7 @@ extern ssize_t __libc_write __P ((int __fd, __const __ptr_t __buf,
    data structures at the program start.  To do this we'll simply visit all
    entries in the call graph table and add it to the appropriate list.  */
 
-extern int __profile_frequency __P ((void));
+extern int __profile_frequency (void);
 
 /* We define a special type to address the elements of the arc table.
    This is basically the `gmon_cg_arc_record' format but it includes
diff --git a/elf/sln.c b/elf/sln.c
index f9344692e6..e13b6d97b1 100644
--- a/elf/sln.c
+++ b/elf/sln.c
@@ -1,5 +1,5 @@
 /* `sln' program to create symboblic links between files.
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright (C) 1998, 1999 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
@@ -30,8 +30,8 @@
 #define	S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
 #endif
 
-static int makesymlink __P ((const char *src, const char *dest));
-static int makesymlinks __P ((const char *file));
+static int makesymlink (const char *src, const char *dest);
+static int makesymlinks (const char *file);
 
 int
 main (int argc, char **argv)
diff --git a/elf/sprof.c b/elf/sprof.c
index 7e1d8c4297..79c315291d 100644
--- a/elf/sprof.c
+++ b/elf/sprof.c
@@ -58,7 +58,7 @@
 #endif
 
 
-extern int __profile_frequency __P ((void));
+extern int __profile_frequency (void);
 
 /* Name and version of program.  */
 static void print_version (FILE *stream, struct argp_state *state);