diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-08-07 00:38:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-08-07 00:38:34 +0000 |
commit | 6199f15e3e0651e8399ad97e919a96d69d128ee2 (patch) | |
tree | cde8dbb44682b9bafafa3ec82a63352162d5cf59 /sys/lib/libkern/strcpy.c | |
parent | f8b1d50fcd985a3171e1d491c63c553aff62c2a7 (diff) |
ansi and some missing protos
Diffstat (limited to 'sys/lib/libkern/strcpy.c')
-rw-r--r-- | sys/lib/libkern/strcpy.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/lib/libkern/strcpy.c b/sys/lib/libkern/strcpy.c index c68859f4540..e7dc46ab90a 100644 --- a/sys/lib/libkern/strcpy.c +++ b/sys/lib/libkern/strcpy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strcpy.c,v 1.7 2003/06/02 23:28:08 millert Exp $ */ +/* $OpenBSD: strcpy.c,v 1.8 2004/08/07 00:38:33 deraadt Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. @@ -31,7 +31,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)strcpy.c 5.7 (Berkeley) 2/24/91";*/ -static char *rcsid = "$OpenBSD: strcpy.c,v 1.7 2003/06/02 23:28:08 millert Exp $"; +static char *rcsid = "$OpenBSD: strcpy.c,v 1.8 2004/08/07 00:38:33 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #if !defined(_KERNEL) && !defined(_STANDALONE) @@ -43,9 +43,7 @@ static char *rcsid = "$OpenBSD: strcpy.c,v 1.7 2003/06/02 23:28:08 millert Exp $ __warn_references(strcpy, "warning: strcpy() is often misused, please use strlcpy()"); char * -strcpy(to, from) - register char *to; - register const char *from; +strcpy(char *to, const char *from) { char *save = to; |