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/ffdb2ba7d54f
branches: trunk
changeset: 325809:ffdb2ba7d54f
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 98b712fce0d0 -r ffdb2ba7d54f 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