Browse Source

repair libkern support (again) and add rcsids

OPENBSD_3_7
mickey 19 years ago
parent
commit
3ce549ead6
7 changed files with 31 additions and 13 deletions
  1. +4
    -2
      src/lib/libc/string/bcmp.c
  2. +4
    -2
      src/lib/libc/string/bzero.c
  3. +4
    -2
      src/lib/libc/string/strcat.c
  4. +4
    -2
      src/lib/libc/string/strcmp.c
  5. +4
    -2
      src/lib/libc/string/strcpy.c
  6. +4
    -2
      src/lib/libc/string/strncmp.c
  7. +7
    -1
      src/lib/libc/string/strncpy.c

+ 4
- 2
src/lib/libc/string/bcmp.c View File

@ -1,3 +1,5 @@
/* $OpenBSD: bcmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $ */
/*
* Copyright (c) 1987 Regents of the University of California.
* All rights reserved.
@ -28,10 +30,10 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char *rcsid = "$OpenBSD: bcmp.c,v 1.5 2003/06/02 20:18:38 millert Exp $";
static char *rcsid = "$OpenBSD: bcmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#ifndef _KERNEL
#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>


+ 4
- 2
src/lib/libc/string/bzero.c View File

@ -1,3 +1,5 @@
/* $OpenBSD: bzero.c,v 1.6 2004/11/28 07:16:54 mickey Exp $ */
/*
* Copyright (c) 1987 Regents of the University of California.
* All rights reserved.
@ -28,10 +30,10 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char *rcsid = "$OpenBSD: bzero.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $";
static char *rcsid = "$OpenBSD: bzero.c,v 1.6 2004/11/28 07:16:54 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#ifndef _KERNEL
#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>


+ 4
- 2
src/lib/libc/string/strcat.c View File

@ -1,3 +1,5 @@
/* $OpenBSD: strcat.c,v 1.7 2004/11/28 07:16:54 mickey Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
* All rights reserved.
@ -28,10 +30,10 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char *rcsid = "$OpenBSD: strcat.c,v 1.6 2003/07/24 01:15:42 deraadt Exp $";
static char *rcsid = "$OpenBSD: strcat.c,v 1.7 2004/11/28 07:16:54 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#ifndef _KERNEL
#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>


+ 4
- 2
src/lib/libc/string/strcmp.c View File

@ -1,3 +1,5 @@
/* $OpenBSD: strcmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@ -31,10 +33,10 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char *rcsid = "$OpenBSD: strcmp.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $";
static char *rcsid = "$OpenBSD: strcmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#ifndef _KERNEL
#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>


+ 4
- 2
src/lib/libc/string/strcpy.c View File

@ -1,3 +1,5 @@
/* $OpenBSD: strcpy.c,v 1.7 2004/11/28 07:16:54 mickey Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
* All rights reserved.
@ -28,10 +30,10 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char *rcsid = "$OpenBSD: strcpy.c,v 1.6 2003/07/24 01:15:42 deraadt Exp $";
static char *rcsid = "$OpenBSD: strcpy.c,v 1.7 2004/11/28 07:16:54 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#ifndef _KERNEL
#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>


+ 4
- 2
src/lib/libc/string/strncmp.c View File

@ -1,3 +1,5 @@
/* $OpenBSD: strncmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
@ -28,10 +30,10 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char *rcsid = "$OpenBSD: strncmp.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $";
static char *rcsid = "$OpenBSD: strncmp.c,v 1.6 2004/11/28 07:16:54 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#ifndef _KERNEL
#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>


+ 7
- 1
src/lib/libc/string/strncpy.c View File

@ -1,3 +1,5 @@
/* $OpenBSD: strncpy.c,v 1.5 2004/11/28 07:16:54 mickey Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@ -31,10 +33,14 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char *rcsid = "$OpenBSD: strncpy.c,v 1.4 2003/06/11 21:08:16 deraadt Exp $";
static char *rcsid = "$OpenBSD: strncpy.c,v 1.5 2004/11/28 07:16:54 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#if !defined(_KERNEL) && !defined(_STANDALONE)
#include <string.h>
#else
#include <lib/libkern/libkern.h>
#endif
/*
* Copy src to dst, truncating or null-padding to always copy n bytes.


Loading…
Cancel
Save