Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Dec 2009 18:59:57 GMT
From:      Rafal Jaworowski <raj@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 171289 for review
Message-ID:  <200912021859.nB2IxvB0011468@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=171289

Change 171289 by raj@raj_fdt on 2009/12/02 18:59:18

	Bring memchr() from libc for libkern use. This will be required by
	libfdt when built as part of the kernel code.

Affected files ...

.. //depot/projects/fdt/sys/libkern/memchr.c#1 add
.. //depot/projects/fdt/sys/sys/libkern.h#2 edit

Differences ...

==== //depot/projects/fdt/sys/sys/libkern.h#2 (text+ko) ====

@@ -92,6 +92,7 @@
 int	 fnmatch(const char *, const char *, int);
 void	 gets(char *, size_t, int);
 int	 locc(int, char *, u_int);
+void	*memchr(const void *s, int c, size_t n);
 int	 memcmp(const void *b1, const void *b2, size_t len);
 void	 qsort(void *base, size_t nmemb, size_t size,
 	    int (*compar)(const void *, const void *));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912021859.nB2IxvB0011468>