Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hpcsh/dev Use C99 __func__ instead of gcc __FUNCTIO...



details:   https://anonhg.NetBSD.org/src/rev/4961070e62b5
branches:  trunk
changeset: 587376:4961070e62b5
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sat Jan 21 22:55:34 2006 +0000

description:
Use C99 __func__ instead of gcc __FUNCTION__ to make lint happy.

diffstat:

 sys/arch/hpcsh/dev/pfckbd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f69fa00ad0f4 -r 4961070e62b5 sys/arch/hpcsh/dev/pfckbd.c
--- a/sys/arch/hpcsh/dev/pfckbd.c       Sat Jan 21 22:10:59 2006 +0000
+++ b/sys/arch/hpcsh/dev/pfckbd.c       Sat Jan 21 22:55:34 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pfckbd.c,v 1.16 2005/12/11 12:17:36 christos Exp $     */
+/*     $NetBSD: pfckbd.c,v 1.17 2006/01/21 22:55:34 uwe Exp $  */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pfckbd.c,v 1.16 2005/12/11 12:17:36 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pfckbd.c,v 1.17 2006/01/21 22:55:34 uwe Exp $");
 
 #include "debug_hpcsh.h"
 
@@ -232,7 +232,7 @@
 pfckbd_callout_unknown(void *arg)
 {
 
-       printf("%s: unknown keyboard switch\n", __FUNCTION__);
+       printf("%s: unknown keyboard switch\n", __func__);
 }
 
 /* HP Jornada680/690, HP620LX */



Home | Main Index | Thread Index | Old Index