add forward declaration to main() to prevent warnings

This commit is contained in:
Jaap de Wolff 2018-02-12 12:23:45 +01:00 committed by Corinna Vinschen
parent c9d4bac58c
commit bc9b30ea77
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@
#include <unistd.h>
#include "arm.h"
/* forward declaration */
int main(int argc, char *argv[], char *env[]);
static int _main(int argc, char *argv[]) __attribute__((noreturn));
#if __thumb__ && !defined(PREFER_THUMB)