aboutsummaryrefslogtreecommitdiff
path: root/lib/csu/powerpc
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-03-23 18:14:04 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-03-23 18:14:04 +0000
commita378c419fee0d6b33c454e78388b888e8640ad20 (patch)
tree9f1ac53fa42bf0df6b5f64234185b94ebae014a4 /lib/csu/powerpc
parentefc8588d576703e72b3629c0ca47fbcdc4cf8cbe (diff)
Notes
Diffstat (limited to 'lib/csu/powerpc')
-rw-r--r--lib/csu/powerpc/crt1.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/lib/csu/powerpc/crt1.c b/lib/csu/powerpc/crt1.c
index c9bc266aa5e6..eb293d648e5d 100644
--- a/lib/csu/powerpc/crt1.c
+++ b/lib/csu/powerpc/crt1.c
@@ -62,24 +62,21 @@ extern int eprol;
extern int etext;
#endif
-/*
- * First 5 arguments are specified by the PowerPC SVR4 ABI.
- * The last argument, ps_strings, is a BSD extension.
- */
-void _start(int, char **, char **, const struct Struct_Obj_Entry *,
- void (*)(void), struct ps_strings *);
-
char **environ;
char *__progname = "";
struct ps_strings *__ps_strings;
-/* The entry function. */
+/* The entry function.
+ *
+ * First 5 arguments are specified by the PowerPC SVR4 ABI.
+ * The last argument, ps_strings, is a BSD extension.
+ */
void
_start(argc, argv, envp, obj, cleanup, ps_strings)
int argc;
char **argv, **envp;
const struct Struct_Obj_Entry *obj; /* from shared loader */
- void (*cleanup)(void); /* from shared loader */
+ void (*cleanup)(void); /* from shared loader */
struct ps_strings *ps_strings; /* BSD extension */
{
char *namep;