Module Name: src
Committed By: joerg
Date: Fri Nov 25 12:45:00 UTC 2011
Modified Files:
src/sys/lib/libkern: rngtest.c
Log Message:
Spell restrict with __.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/lib/libkern/rngtest.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/lib/libkern/rngtest.c
diff -u src/sys/lib/libkern/rngtest.c:1.1 src/sys/lib/libkern/rngtest.c:1.2
--- src/sys/lib/libkern/rngtest.c:1.1 Sat Nov 19 22:51:25 2011
+++ src/sys/lib/libkern/rngtest.c Fri Nov 25 12:45:00 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: rngtest.c,v 1.1 2011/11/19 22:51:25 tls Exp $ */
+/* $NetBSD: rngtest.c,v 1.2 2011/11/25 12:45:00 joerg Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -142,11 +142,11 @@ the GNU Public License.
#include <lib/libkern/libkern.h>
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rngtest.c,v 1.1 2011/11/19 22:51:25 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rngtest.c,v 1.2 2011/11/25 12:45:00 joerg Exp $");
#ifndef _KERNEL
static inline int
-printf(const char *restrict format, ...)
+printf(const char * __restrict format, ...)
{
return 0; /* XXX no standard way to do output in libkern? */
}