Message ID | 1437448995-7936-5-git-send-email-joel@jms.id.au |
---|---|
State | Accepted |
Headers | show |
Joel Stanley <joel@jms.id.au> writes: > asm/asm-offsets.c:31:5: error: no previous prototype for function 'main' > [-Werror,-Wmissing-prototypes] > int main(void) > > Signed-off-by: Joel Stanley <joel@jms.id.au> Merged as b4769a78327e3216c741b1edd556e1e9265f1109, thanks!
diff --git a/asm/asm-offsets.c b/asm/asm-offsets.c index 6278c5c..060eb31 100644 --- a/asm/asm-offsets.c +++ b/asm/asm-offsets.c @@ -28,6 +28,8 @@ #define OFFSET(sym, str, mem) \ DEFINE(sym, offsetof(struct str, mem)) +int main(void); + int main(void) { OFFSET(SPIRA_ACTUAL_SIZE, spira, reserved);
asm/asm-offsets.c:31:5: error: no previous prototype for function 'main' [-Werror,-Wmissing-prototypes] int main(void) Signed-off-by: Joel Stanley <joel@jms.id.au> --- asm/asm-offsets.c | 2 ++ 1 file changed, 2 insertions(+)