Source-Changes-HG archive

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

[src/netbsd-1-5]: src/include Pullup 1.9 [sommerfeld]:



details:   https://anonhg.NetBSD.org/src/rev/dac8eac13a66
branches:  netbsd-1-5
changeset: 489913:dac8eac13a66
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Oct 18 17:13:00 2000 +0000

description:
Pullup 1.9 [sommerfeld]:
Allow passthrough format-string checking of catgets.

diffstat:

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

diffs (19 lines):

diff -r ec6d119c5b83 -r dac8eac13a66 include/nl_types.h
--- a/include/nl_types.h        Wed Oct 18 17:10:55 2000 +0000
+++ b/include/nl_types.h        Wed Oct 18 17:13:00 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.12.1 2000/10/18 17:13:00 tv 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