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/common Check format strings for ex_pri...



details:   https://anonhg.NetBSD.org/src/rev/5ad6135d0f73
branches:  trunk
changeset: 792549:5ad6135d0f73
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Jan 07 02:14:02 2014 +0000

description:
Check format strings for ex_printf.

diffstat:

 external/bsd/nvi/dist/common/common.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r f5dae15c50cb -r 5ad6135d0f73 external/bsd/nvi/dist/common/common.h
--- a/external/bsd/nvi/dist/common/common.h     Tue Jan 07 02:13:39 2014 +0000
+++ b/external/bsd/nvi/dist/common/common.h     Tue Jan 07 02:14:02 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: common.h,v 1.2 2013/11/22 15:52:05 christos Exp $ */
+/*     $NetBSD: common.h,v 1.3 2014/01/07 02:14:02 joerg Exp $ */
 /*-
  * Copyright (c) 1991, 1993, 1994
  *     The Regents of the University of California.  All rights reserved.
@@ -57,6 +57,8 @@
 typedef struct _text           TEXT;
 typedef struct _win            WIN;
 
+int ex_printf(SCR *, const char *, ...) __printflike(2, 3);
+
 /* Autoindent state. */
 typedef enum { C_NOTSET, C_CARATSET, C_ZEROSET } carat_t;
 



Home | Main Index | Thread Index | Old Index