Source-Changes-HG archive

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

[src/netbsd-1-4]: src/include Pull up revision 1.9 (requested by sommerfeld):



details:   https://anonhg.NetBSD.org/src/rev/6c341b1adfd8
branches:  netbsd-1-4
changeset: 471046:6c341b1adfd8
user:      he <he%NetBSD.org@localhost>
date:      Thu Oct 19 15:35:59 2000 +0000

description:
Pull up revision 1.9 (requested by sommerfeld):
  Allow passthrough format-string checking of catgets, as part
  of format string audit.

diffstat:

 include/nl_types.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 9aab774bfeef -r 6c341b1adfd8 include/nl_types.h
--- a/include/nl_types.h        Thu Oct 19 15:34:08 2000 +0000
+++ b/include/nl_types.h        Thu Oct 19 15:35:59 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nl_types.h,v 1.8 1997/07/30 23:00:02 jtc Exp $ */
+/*     $NetBSD: nl_types.h,v 1.8.4.1 2000/10/19 15:35:59 he Exp $      */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -90,7 +90,8 @@
 
 __BEGIN_DECLS
 nl_catd  catopen __P((const char *, int));
-char    *catgets __P((nl_catd, int, int, const char *));
+char    *catgets __P((nl_catd, int, int, const char *))
+       __attribute__((__format_arg__(4)));
 int     catclose __P((nl_catd));
 __END_DECLS
 



Home | Main Index | Thread Index | Old Index