Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/dump Use __printflike.
details: https://anonhg.NetBSD.org/src/rev/f88ebf16ade6
branches: trunk
changeset: 783976:f88ebf16ade6
user: dholland <dholland%NetBSD.org@localhost>
date: Sun Jan 13 23:45:35 2013 +0000
description:
Use __printflike.
diffstat:
sbin/dump/dump.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (23 lines):
diff -r 04ac666e9210 -r f88ebf16ade6 sbin/dump/dump.h
--- a/sbin/dump/dump.h Sun Jan 13 23:17:18 2013 +0000
+++ b/sbin/dump/dump.h Sun Jan 13 23:45:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dump.h,v 1.48 2013/01/13 22:53:01 dholland Exp $ */
+/* $NetBSD: dump.h,v 1.49 2013/01/13 23:45:35 dholland Exp $ */
/*-
* Copyright (c) 1980, 1993
@@ -175,10 +175,10 @@
/* operator interface functions */
void broadcast(const char *);
void lastdump(char);
-void msg(const char *fmt, ...) __attribute__((__format__(__printf__,1,2)));
-void msgtail(const char *fmt, ...) __attribute__((__format__(__printf__,1,2)));
+void msg(const char *fmt, ...) __printflike(1, 2);
+void msgtail(const char *fmt, ...) __printflike(1, 2);
int query(const char *);
-void quit(const char *fmt, ...) __attribute__((__format__(__printf__,1,2)));
+void quit(const char *fmt, ...) __printflike(1, 2);
time_t do_stats(void);
void statussig(int);
void timeest(void);
Home |
Main Index |
Thread Index |
Old Index