Source-Changes-HG archive

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

[src/trunk]: src/sys/kern apply "shut up, lint" for syscallargs.h



details:   https://anonhg.NetBSD.org/src/rev/0d41bc9af700
branches:  trunk
changeset: 758431:0d41bc9af700
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Nov 04 17:02:34 2010 +0000

description:
apply "shut up, lint" for syscallargs.h

diffstat:

 sys/kern/makesyscalls.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r e64f122a99ea -r 0d41bc9af700 sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh  Thu Nov 04 16:24:22 2010 +0000
+++ b/sys/kern/makesyscalls.sh  Thu Nov 04 17:02:34 2010 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh -
-#      $NetBSD: makesyscalls.sh,v 1.100 2010/11/01 16:21:29 pooka Exp $
+#      $NetBSD: makesyscalls.sh,v 1.101 2010/11/04 17:02:34 pooka Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -280,7 +280,7 @@
        printf "\t\t} be;\t\t\t\t\t\t\t\\\n" > sysarghdr
        printf "\t}\n" > sysarghdr
        printf("\n#undef check_syscall_args\n") >sysarghdr
-       printf("#define check_syscall_args(call) \\\n" \
+       printf("#define check_syscall_args(call) /*LINTED*/ \\\n" \
                "\ttypedef char call##_check_args" \
                    "[sizeof (struct call##_args) \\\n" \
                "\t\t<= %sMAXSYSARGS * sizeof (%s) ? 1 : -1];\n", \



Home | Main Index | Thread Index | Old Index