summary refs log tree commit diff
path: root/bin/1sh/show.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-06-07 16:30:34 -0400
committerJune McEnroe <june@causal.agency>2020-06-08 16:46:02 -0400
commit506c330d35400bfcfbec6b5806e49c89c31c1e4e (patch)
tree3d29e4f77bca1afa28ad3f5f7ad6cbb75aeb190c /bin/1sh/show.h
parentReplace __dead2 with __attribute__((noreturn)) (diff)
downloadsrc-506c330d35400bfcfbec6b5806e49c89c31c1e4e.tar.gz
src-506c330d35400bfcfbec6b5806e49c89c31c1e4e.zip
Replace __printflike with __attribute__((format(printf, ...)))
sed -E 's/__printf0?like[(]([^,]+), ([^)]+)[)]/__attribute__((format(printf, \1, \2)))/'
Diffstat (limited to 'bin/1sh/show.h')
-rw-r--r--bin/1sh/show.h2
1 files changed, 1 insertions, 1 deletions
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 *);