diff options
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/bzero.c | 2 | ||||
-rw-r--r-- | sysdeps/generic/memccpy.c | 1 | ||||
-rw-r--r-- | sysdeps/generic/vtimes.c | 4 |
3 files changed, 3 insertions, 4 deletions
diff --git a/sysdeps/generic/bzero.c b/sysdeps/generic/bzero.c index eaa359d77e..7fda7c3b5e 100644 --- a/sysdeps/generic/bzero.c +++ b/sysdeps/generic/bzero.c @@ -22,7 +22,7 @@ /* Set N bytes of S to 0. */ void -bzero (s, n) +bzero (s, len) void *s; size_t len; { diff --git a/sysdeps/generic/memccpy.c b/sysdeps/generic/memccpy.c index 8875abedd5..7c2d443863 100644 --- a/sysdeps/generic/memccpy.c +++ b/sysdeps/generic/memccpy.c @@ -17,6 +17,7 @@ Boston, MA 02111-1307, USA. */ #include <stddef.h> /* For size_t and NULL. */ +#include <string.h> /* * Copy no more than N bytes of SRC to DEST, stopping when C is found. diff --git a/sysdeps/generic/vtimes.c b/sysdeps/generic/vtimes.c index 298f428b71..0c19a918f8 100644 --- a/sysdeps/generic/vtimes.c +++ b/sysdeps/generic/vtimes.c @@ -29,9 +29,7 @@ /* If VT is not NULL, write statistics for WHO into *VT. Return 0 for success, -1 for failure. */ static int -vtimes_one (vt, who) - struct vtimes *vt; - enum __rusage_who who; +vtimes_one (struct vtimes *vt, enum __rusage_who who) { if (vt != NULL) { |