Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a00f91b4 authored by Spencer Low's avatar Spencer Low
Browse files

adb: syntax_error: add compile time format string checking



Test: mma

Change-Id: I8eccd17a1feac0dd98fb317d30ab27489b803669
Signed-off-by: default avatarSpencer Low <CompareAndSwap@gmail.com>
parent 640ceee5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@

#include <android-base/macros.h>

int syntax_error(const char*, ...);
int syntax_error(const char*, ...) __attribute__((__format__(__printf__, 1, 2)));

void close_stdin();