diff options
Diffstat (limited to 'src/lib/libc/string/strcpy.c')
| -rw-r--r-- | src/lib/libc/string/strcpy.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/libc/string/strcpy.c b/src/lib/libc/string/strcpy.c index 86956cdb95..04bf0fa67f 100644 --- a/src/lib/libc/string/strcpy.c +++ b/src/lib/libc/string/strcpy.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: strcpy.c,v 1.2 1996/03/09 02:42:57 niklas Exp $ */ | 1 | /* $OpenBSD: strcpy.c,v 1.3 1996/05/01 12:57:49 deraadt Exp $ */ |
| 2 | 2 | ||
| 3 | /* | 3 | /* |
| 4 | * Copyright (c) 1988 Regents of the University of California. | 4 | * Copyright (c) 1988 Regents of the University of California. |
| @@ -35,10 +35,14 @@ | |||
| 35 | 35 | ||
| 36 | #if defined(LIBC_SCCS) && !defined(lint) | 36 | #if defined(LIBC_SCCS) && !defined(lint) |
| 37 | /*static char *sccsid = "from: @(#)strcpy.c 5.7 (Berkeley) 2/24/91";*/ | 37 | /*static char *sccsid = "from: @(#)strcpy.c 5.7 (Berkeley) 2/24/91";*/ |
| 38 | static char *rcsid = "$Id: strcpy.c,v 1.2 1996/03/09 02:42:57 niklas Exp $"; | 38 | static char *rcsid = "$Id: strcpy.c,v 1.3 1996/05/01 12:57:49 deraadt Exp $"; |
| 39 | #endif /* LIBC_SCCS and not lint */ | 39 | #endif /* LIBC_SCCS and not lint */ |
| 40 | 40 | ||
| 41 | #ifndef _KERNEL | ||
| 41 | #include <string.h> | 42 | #include <string.h> |
| 43 | #else | ||
| 44 | #include <lib/libkern/libkern.h> | ||
| 45 | #endif | ||
| 42 | 46 | ||
| 43 | char * | 47 | char * |
| 44 | strcpy(to, from) | 48 | strcpy(to, from) |
