Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit/readline Don't use __printflike, use the explici...
details: https://anonhg.NetBSD.org/src/rev/b039bfc76bba
branches: trunk
changeset: 359609:b039bfc76bba
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 14 13:31:05 2022 +0000
description:
Don't use __printflike, use the explicit attribute so that this works outside
NetBSD.
diffstat:
lib/libedit/readline/readline.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 172a00576cf6 -r b039bfc76bba lib/libedit/readline/readline.h
--- a/lib/libedit/readline/readline.h Fri Jan 14 12:48:30 2022 +0000
+++ b/lib/libedit/readline/readline.h Fri Jan 14 13:31:05 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: readline.h,v 1.49 2022/01/14 12:48:30 tnn Exp $ */
+/* $NetBSD: readline.h,v 1.50 2022/01/14 13:31:05 christos Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -229,7 +229,8 @@
int rl_ding(void);
char *rl_copy_text(int, int);
void rl_replace_line(const char *, int);
-void rl_message(const char *format, ...) __printflike(1, 2);
+void rl_message(const char *format, ...)
+ __attribute__((__format__(__printf__, 1, 2)));
void rl_save_prompt(void);
void rl_restore_prompt(void);
Home |
Main Index |
Thread Index |
Old Index