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 prototype for memcmp() as suggested by A...



details:   https://anonhg.NetBSD.org/src/rev/7afcfecf7384
branches:  trunk
changeset: 476246:7afcfecf7384
user:      tron <tron%NetBSD.org@localhost>
date:      Fri Sep 10 14:05:40 1999 +0000

description:
Add prototype for memcmp() as suggested by Anders Hjalmarsson in
PR kern/8360.

diffstat:

 sys/lib/libkern/libkern.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r d5e4f037f893 -r 7afcfecf7384 sys/lib/libkern/libkern.h
--- a/sys/lib/libkern/libkern.h Fri Sep 10 13:21:14 1999 +0000
+++ b/sys/lib/libkern/libkern.h Fri Sep 10 14:05:40 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: libkern.h,v 1.26 1999/05/07 14:49:53 drochner Exp $    */
+/*     $NetBSD: libkern.h,v 1.27 1999/09/10 14:05:40 tron Exp $        */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -155,6 +155,7 @@
 void    bzero __P((void *, size_t));
 int     ffs __P((int));
 void   *memchr __P((const void *, int, size_t));
+int     memcmp __P((const void *, const void *, size_t));
 void   *memcpy __P((void *, const void *, size_t));
 void   *memmove __P((void *, const void *, size_t));
 void   *memset __P((void *, int, size_t));



Home | Main Index | Thread Index | Old Index