Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/nvi/dist/ex Check format strings for ex_printf.
details: https://anonhg.NetBSD.org/src/rev/d0ce8d43d482
branches: trunk
changeset: 357884:d0ce8d43d482
user: rin <rin%NetBSD.org@localhost>
date: Fri Dec 01 18:39:49 2017 +0000
description:
Check format strings for ex_printf.
diffstat:
external/bsd/nvi/dist/ex/ex_print.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 66bec988f340 -r d0ce8d43d482 external/bsd/nvi/dist/ex/ex_print.c
--- a/external/bsd/nvi/dist/ex/ex_print.c Fri Dec 01 18:35:58 2017 +0000
+++ b/external/bsd/nvi/dist/ex/ex_print.c Fri Dec 01 18:39:49 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ex_print.c,v 1.5 2017/11/12 15:27:53 rin Exp $ */
+/* $NetBSD: ex_print.c,v 1.6 2017/12/01 18:39:49 rin Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
* The Regents of the University of California. All rights reserved.
@@ -16,7 +16,7 @@
static const char sccsid[] = "Id: ex_print.c,v 10.24 2001/07/29 19:07:29 skimo Exp (Berkeley) Date: 2001/07/29 19:07:29 ";
#endif /* not lint */
#else
-__RCSID("$NetBSD: ex_print.c,v 1.5 2017/11/12 15:27:53 rin Exp $");
+__RCSID("$NetBSD: ex_print.c,v 1.6 2017/12/01 18:39:49 rin Exp $");
#endif
#include <sys/types.h>
@@ -264,7 +264,7 @@
* ex_printf --
* Ex's version of printf.
*
- * PUBLIC: int ex_printf __P((SCR *, const char *, ...));
+ * PUBLIC: int ex_printf __P((SCR *, const char *, ...)) __printflike(2, 3);
*/
int
#ifdef __STDC__
Home |
Main Index |
Thread Index |
Old Index