Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libkern add strncat (for acpi)
details: https://anonhg.NetBSD.org/src/rev/ab2c35fbda14
branches: trunk
changeset: 325518:ab2c35fbda14
user: christos <christos%NetBSD.org@localhost>
date: Fri Dec 27 20:25:33 2013 +0000
description:
add strncat (for acpi)
diffstat:
sys/lib/libkern/Makefile.libkern | 4 ++--
sys/lib/libkern/libkern.h | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r cdb69d6a4c69 -r ab2c35fbda14 sys/lib/libkern/Makefile.libkern
--- a/sys/lib/libkern/Makefile.libkern Fri Dec 27 20:25:11 2013 +0000
+++ b/sys/lib/libkern/Makefile.libkern Fri Dec 27 20:25:33 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.libkern,v 1.28 2013/12/11 01:24:08 joerg Exp $
+# $NetBSD: Makefile.libkern,v 1.29 2013/12/27 20:25:33 christos Exp $
#
# Variable definitions for libkern.
@@ -88,7 +88,7 @@
SRCS+= memchr.c
SRCS+= strcat.c strcmp.c strcpy.c strlen.c strnlen.c
-SRCS+= strncmp.c strncpy.c
+SRCS+= strncat.c strncmp.c strncpy.c
SRCS+= strcasecmp.c strncasecmp.c
SRCS+= xlat_mbr_fstype.c
diff -r cdb69d6a4c69 -r ab2c35fbda14 sys/lib/libkern/libkern.h
--- a/sys/lib/libkern/libkern.h Fri Dec 27 20:25:11 2013 +0000
+++ b/sys/lib/libkern/libkern.h Fri Dec 27 20:25:33 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: libkern.h,v 1.111 2013/12/15 21:15:41 pooka Exp $ */
+/* $NetBSD: libkern.h,v 1.112 2013/12/27 20:25:33 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -292,6 +292,7 @@
/* These exist in GCC 3.x, but we don't bother. */
char *strcat(char *, const char *);
char *strncpy(char *, const char *, size_t);
+char *strncat(char *, const char *, size_t);
int strncmp(const char *, const char *, size_t);
char *strchr(const char *, int);
char *strrchr(const char *, int);
Home |
Main Index |
Thread Index |
Old Index