Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.bin/vi/include Pull up revision 1.4 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/7fdd2c4ff9c4
branches: netbsd-1-4
changeset: 471101:7fdd2c4ff9c4
user: he <he%NetBSD.org@localhost>
date: Thu Oct 19 16:33:11 2000 +0000
description:
Pull up revision 1.4 (requested by he):
Format string cleanup.
diffstat:
usr.bin/vi/include/common_extern.h | 5 +++--
usr.bin/vi/include/ex_extern.h | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (38 lines):
diff -r eb5d80ef97b8 -r 7fdd2c4ff9c4 usr.bin/vi/include/common_extern.h
--- a/usr.bin/vi/include/common_extern.h Thu Oct 19 16:33:03 2000 +0000
+++ b/usr.bin/vi/include/common_extern.h Thu Oct 19 16:33:11 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: common_extern.h,v 1.3 1998/07/26 23:14:40 mycroft Exp $ */
+/* $NetBSD: common_extern.h,v 1.3.2.1 2000/10/19 16:33:11 he Exp $ */
#ifndef HAVE_STRSEP
char *strsep __P((char **, const char *));
@@ -74,7 +74,8 @@
int mark_get __P((SCR *, ARG_CHAR_T, MARK *, mtype_t));
int mark_set __P((SCR *, ARG_CHAR_T, MARK *, int));
int mark_insdel __P((SCR *, lnop_t, recno_t));
-void msgq __P((SCR *, mtype_t, const char *, ...));
+void msgq __P((SCR *, mtype_t, const char *, ...))
+ __attribute__((__format__(__printf__, 3, 4)));
void msgq_str __P((SCR *, mtype_t, const char *, const char *));
void msgq_rpt __P((SCR *));
void msgq_status __P((SCR *, recno_t, u_int));
diff -r eb5d80ef97b8 -r 7fdd2c4ff9c4 usr.bin/vi/include/ex_extern.h
--- a/usr.bin/vi/include/ex_extern.h Thu Oct 19 16:33:03 2000 +0000
+++ b/usr.bin/vi/include/ex_extern.h Thu Oct 19 16:33:11 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ex_extern.h,v 1.3 1999/01/08 06:16:55 abs Exp $ */
+/* $NetBSD: ex_extern.h,v 1.3.2.1 2000/10/19 16:33:14 he Exp $ */
int ex __P((SCR **));
int ex_cmd __P((SCR *));
@@ -64,7 +64,8 @@
int ex_print __P((SCR *, EXCMD *, MARK *, MARK *, u_int32_t));
int ex_ldisplay __P((SCR *, const char *, size_t, size_t, u_int));
int ex_scprint __P((SCR *, MARK *, MARK *));
-int ex_printf __P((SCR *, const char *, ...));
+int ex_printf __P((SCR *, const char *, ...))
+ __attribute__((__format__(__printf__, 2, 3)));
int ex_puts __P((SCR *, const char *));
int ex_fflush __P((SCR *sp));
int ex_put __P((SCR *, EXCMD *));
Home |
Main Index |
Thread Index |
Old Index