diff --git a/adb/adb.h b/adb/adb.h index 0fb2008f2..8b3359ea8 100644 --- a/adb/adb.h +++ b/adb/adb.h @@ -227,8 +227,8 @@ asocket *create_remote_socket(unsigned id, atransport *t); void connect_to_remote(asocket *s, const char *destination); void connect_to_smartsocket(asocket *s); -void fatal(const char *fmt, ...); -void fatal_errno(const char *fmt, ...); +void fatal(const char *fmt, ...) __attribute__((noreturn)); +void fatal_errno(const char *fmt, ...) __attribute__((noreturn)); void handle_packet(apacket *p, atransport *t);