Module Name: src Committed By: joerg Date: Tue Mar 25 17:23:37 UTC 2014
Modified Files: src/bin/ed: ed.h Log Message: Use __printflike. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/bin/ed/ed.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/bin/ed/ed.h diff -u src/bin/ed/ed.h:1.36 src/bin/ed/ed.h:1.37 --- src/bin/ed/ed.h:1.36 Sun Mar 23 05:06:42 2014 +++ src/bin/ed/ed.h Tue Mar 25 17:23:37 2014 @@ -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 unmark_line_node(line_t *); 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[];