Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaap de Wolff <info@jasoon.nl>2018-02-12 14:23:45 +0300
committerCorinna Vinschen <corinna@vinschen.de>2018-02-16 14:16:08 +0300
commitbc9b30ea77c73840265d2dd69650d472b786feac (patch)
treec2bea5f54b1067e94f98303148dfb9ebccb1f975 /libgloss/arm
parentc9d4bac58c18495d92c3334614ad676ccef1de46 (diff)
add forward declaration to main() to prevent warnings
Diffstat (limited to 'libgloss/arm')
-rw-r--r--libgloss/arm/linux-crt0.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgloss/arm/linux-crt0.c b/libgloss/arm/linux-crt0.c
index 878ece765..6b2d62a9b 100644
--- a/libgloss/arm/linux-crt0.c
+++ b/libgloss/arm/linux-crt0.c
@@ -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)