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/top Pull up revision 1.4 (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/7725dec4134a
branches:  netbsd-1-4
changeset: 471097:7725dec4134a
user:      he <he%NetBSD.org@localhost>
date:      Thu Oct 19 16:32:56 2000 +0000

description:
Pull up revision 1.4 (requested by he):
  Format string cleanup.

diffstat:

 usr.bin/top/display.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r ce6957d6ae90 -r 7725dec4134a usr.bin/top/display.h
--- a/usr.bin/top/display.h     Thu Oct 19 16:32:53 2000 +0000
+++ b/usr.bin/top/display.h     Thu Oct 19 16:32:56 2000 +0000
@@ -27,7 +27,8 @@
 void u_process __P((int, char *));
 void u_endscreen __P((int));
 void display_header __P((int));
-void new_message __P((int, const char *, ...));
+void new_message __P((int, const char *, ...))
+     __attribute__((__format__(__printf__, 2, 3)));
 void clear_message __P((void));
 int readline __P((char *, int, int));
 char *printable __P((char *));



Home | Main Index | Thread Index | Old Index