Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libkern Spell restrict with __.
details: https://anonhg.NetBSD.org/src/rev/7614c3e36660
branches: trunk
changeset: 771569:7614c3e36660
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Nov 25 12:45:00 2011 +0000
description:
Spell restrict with __.
diffstat:
sys/lib/libkern/rngtest.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 29ece81e4152 -r 7614c3e36660 sys/lib/libkern/rngtest.c
--- a/sys/lib/libkern/rngtest.c Fri Nov 25 12:39:55 2011 +0000
+++ b/sys/lib/libkern/rngtest.c Fri Nov 25 12:45:00 2011 +0000
@@ -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 @@
#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? */
}
Home |
Main Index |
Thread Index |
Old Index