aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGareth McMullin2015-03-08 22:45:53 -0700
committerGareth McMullin2015-03-19 21:49:09 -0700
commit41256e3c2ac211757ef4a3639075b1b5cab1a4f5 (patch)
treea12133434f2a8eab0affd2b7891b8699178c1ee8
parentacfd258aa7b02ea23a6d26c29c3432bf3e857039 (diff)
Add missing return type to stub_exit.
-rw-r--r--flashstub/stub.h2
1 files changed, 1 insertions, 1 deletions
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));