Module Name: src Committed By: joerg Date: Tue Jan 7 02:14:02 UTC 2014
Modified Files: src/external/bsd/nvi/dist/common: common.h Log Message: Check format strings for ex_printf. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/bsd/nvi/dist/common/common.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/nvi/dist/common/common.h diff -u src/external/bsd/nvi/dist/common/common.h:1.2 src/external/bsd/nvi/dist/common/common.h:1.3 --- src/external/bsd/nvi/dist/common/common.h:1.2 Fri Nov 22 15:52:05 2013 +++ src/external/bsd/nvi/dist/common/common.h Tue Jan 7 02:14:02 2014 @@ -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 _tagq TAGQ; 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;