1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 03:12:48 +02:00

ansideclify

This commit is contained in:
Jim Meyering
1998-12-07 03:12:10 +00:00
parent 604b3b397d
commit 7d60769bea
30 changed files with 68 additions and 188 deletions

View File

@@ -33,9 +33,7 @@ char *malloc ();
/* Duplicate S, returning an identical malloc'd string. */
char *
strndup (s, n)
const char *s;
size_t n;
strndup (const char *s, size_t n)
{
char *new = malloc (n + 1);