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

Commit 2f3342fa authored by Elliott Hughes's avatar Elliott Hughes
Browse files

fatal and fatal_errno should be noreturn.

Change-Id: I9c5d9cb5ed743d13e65112a111cc9544ec5da339
parent f6224587
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -229,8 +229,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);