summaryrefslogtreecommitdiffstats
path: root/lib/csu/mips/crt1.c
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2010-03-05 13:28:05 +0000
committeruqs <uqs@FreeBSD.org>2010-03-05 13:28:05 +0000
commitb59a09ce7933da1dcf2be030f1a578a03364dd7a (patch)
tree1cf67b36dafa186824064443b20ee533818478da /lib/csu/mips/crt1.c
parent9b575d6cfa35359a26c022a0a266a114cda5a168 (diff)
downloadFreeBSD-src-b59a09ce7933da1dcf2be030f1a578a03364dd7a.zip
FreeBSD-src-b59a09ce7933da1dcf2be030f1a578a03364dd7a.tar.gz
Properly declare non-extern functions in crt1
Also move the declarations after __progname consistently to make the distinction clearer. Reviewed by: jmallett Approved by: ed (co-mentor)
Diffstat (limited to 'lib/csu/mips/crt1.c')
-rw-r--r--lib/csu/mips/crt1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/csu/mips/crt1.c b/lib/csu/mips/crt1.c
index 39f110b..7409c28 100644
--- a/lib/csu/mips/crt1.c
+++ b/lib/csu/mips/crt1.c
@@ -66,6 +66,8 @@ extern int etext;
char **environ;
const char *__progname = "";
+void __start(char **, void (*)(void), struct Struct_Obj_Entry *, struct ps_strings *);
+
/* The entry function. */
void
__start(char **ap,
OpenPOWER on IntegriCloud