From 41256e3c2ac211757ef4a3639075b1b5cab1a4f5 Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Sun, 8 Mar 2015 22:45:53 -0700 Subject: [PATCH] Add missing return type to stub_exit. --- flashstub/stub.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flashstub/stub.h b/flashstub/stub.h index d279cf3..b837bae 100644 --- a/flashstub/stub.h +++ b/flashstub/stub.h @@ -20,7 +20,7 @@ #ifndef __STUB_H #define __STUB_H -static inline __attribute__((always_inline)) +static inline void __attribute__((always_inline)) stub_exit(const int code) { asm("bkpt %0"::"i"(code));