Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libedit/readline libedit: rl_message: annotate __printflike



details:   https://anonhg.NetBSD.org/src/rev/172a00576cf6
branches:  trunk
changeset: 359608:172a00576cf6
user:      tnn <tnn%NetBSD.org@localhost>
date:      Fri Jan 14 12:48:30 2022 +0000

description:
libedit: rl_message: annotate __printflike

diffstat:

 lib/libedit/readline/readline.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 90cafe68c01e -r 172a00576cf6 lib/libedit/readline/readline.h
--- a/lib/libedit/readline/readline.h   Fri Jan 14 07:40:52 2022 +0000
+++ b/lib/libedit/readline/readline.h   Fri Jan 14 12:48:30 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: readline.h,v 1.48 2022/01/11 18:30:15 christos Exp $   */
+/*     $NetBSD: readline.h,v 1.49 2022/01/14 12:48:30 tnn Exp $        */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -229,7 +229,7 @@
 int             rl_ding(void);
 char           *rl_copy_text(int, int);
 void            rl_replace_line(const char *, int);
-void            rl_message(const char *format, ...);
+void            rl_message(const char *format, ...) __printflike(1, 2);
 void            rl_save_prompt(void);
 void            rl_restore_prompt(void);
 



Home | Main Index | Thread Index | Old Index