summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-06-25 18:01:12 +0000
committerobrien <obrien@FreeBSD.org>2002-06-25 18:01:12 +0000
commit67a607d79fd788a56d226dde99daa0ffd38ca5d3 (patch)
tree988b0c7faab8e6648f47556054040de979e763c7 /lib
parentb6591e77a03a2acf50546d7c67b6f901f8bb8917 (diff)
downloadFreeBSD-src-67a607d79fd788a56d226dde99daa0ffd38ca5d3.zip
FreeBSD-src-67a607d79fd788a56d226dde99daa0ffd38ca5d3.tar.gz
Prototype _start.
Submitted by: markm Mark some _start formal parameters __unused.
Diffstat (limited to 'lib')
-rw-r--r--lib/csu/alpha/crt1.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/csu/alpha/crt1.c b/lib/csu/alpha/crt1.c
index c17f58d..a173842 100644
--- a/lib/csu/alpha/crt1.c
+++ b/lib/csu/alpha/crt1.c
@@ -52,6 +52,8 @@ extern int _DYNAMIC;
extern void _init(void);
extern void _fini(void);
extern int main(int, char **, char **);
+extern void _start(char **, void (*)(void), struct Struct_Obj_Entry *,
+ struct ps_strings *);
#ifdef GCRT
extern void _mcleanup(void);
@@ -67,8 +69,8 @@ const char *__progname = "";
void
_start(char **ap,
void (*cleanup)(void), /* from shared loader */
- struct Struct_Obj_Entry *obj, /* from shared loader */
- struct ps_strings *ps_strings)
+ struct Struct_Obj_Entry *obj __unused, /* from shared loader */
+ struct ps_strings *ps_strings __unused)
{
int argc;
char **argv;
OpenPOWER on IntegriCloud