Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/ed Use __printflike.
details: https://anonhg.NetBSD.org/src/rev/2da01122712f
branches: trunk
changeset: 328077:2da01122712f
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Mar 25 17:23:37 2014 +0000
description:
Use __printflike.
diffstat:
bin/ed/ed.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7bbeea32299d -r 2da01122712f bin/ed/ed.h
--- a/bin/ed/ed.h Tue Mar 25 17:17:44 2014 +0000
+++ b/bin/ed/ed.h Tue Mar 25 17:23:37 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ed.h,v 1.36 2014/03/23 05:06:42 dholland Exp $ */
+/* $NetBSD: ed.h,v 1.37 2014/03/25 17:23:37 joerg Exp $ */
/* ed.h: type and constant definitions for the ed editor. */
/*
@@ -257,7 +257,7 @@
void unset_active_nodes(line_t *, line_t *);
long write_file(const char *, const char *, long, long);
long write_stream(FILE *, long, long);
-void seterrmsg(const char *, ...);
+void seterrmsg(const char *, ...) __printflike(1, 2);
/* global buffers */
extern char stdinbuf[];
Home |
Main Index |
Thread Index |
Old Index