From fee59c2271f1d403238ca7da908a537c53a5e264 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 7 Jun 2020 16:30:34 -0400 Subject: Replace __printflike with __attribute__((format(printf, ...))) sed -E 's/__printf0?like[(]([^,]+), ([^)]+)[)]/__attribute__((format(printf, \1, \2)))/' --- bin/1sh/show.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/1sh/show.h') diff --git a/bin/1sh/show.h b/bin/1sh/show.h index 332685c9..68840549 100644 --- a/bin/1sh/show.h +++ b/bin/1sh/show.h @@ -34,7 +34,7 @@ void showtree(union node *); #ifdef DEBUG -void sh_trace(const char *, ...) __printflike(1, 2); +void sh_trace(const char *, ...) __attribute__((format(printf, 1, 2))); void trargs(char **); void trputc(int); void trputs(const char *); -- cgit 1.4.1