Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libkern KNF
details: https://anonhg.NetBSD.org/src/rev/29cafafa0243
branches: trunk
changeset: 574797:29cafafa0243
user: dsl <dsl%NetBSD.org@localhost>
date: Sat Mar 12 16:39:41 2005 +0000
description:
KNF
diffstat:
sys/lib/libkern/__assert.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (20 lines):
diff -r f8d2a176f6a4 -r 29cafafa0243 sys/lib/libkern/__assert.c
--- a/sys/lib/libkern/__assert.c Sat Mar 12 16:33:45 2005 +0000
+++ b/sys/lib/libkern/__assert.c Sat Mar 12 16:39:41 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: __assert.c,v 1.6 2002/09/27 15:37:47 provos Exp $ */
+/* $NetBSD: __assert.c,v 1.7 2005/03/12 16:39:41 dsl Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou
@@ -39,9 +39,7 @@
#endif
void
-__assert(t, f, l, e)
- const char *t, *f, *e;
- int l;
+__assert(const char *t, const char *f, int l, const char *e)
{
panic("kernel %sassertion \"%s\" failed: file \"%s\", line %d",
Home |
Main Index |
Thread Index |
Old Index