Remove debugging code and unused variable.
This commit is contained in:
parent
477add6bea
commit
5042017dd3
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: crt0.c,v 1.2 1999/01/10 18:20:13 christos Exp $ */
|
/* $NetBSD: crt0.c,v 1.3 1999/01/11 09:34:17 christos Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1998 Christos Zoulas
|
* Copyright (c) 1998 Christos Zoulas
|
||||||
@ -120,12 +120,8 @@ ___start(argc, argv, envp, cleanup, obj, ps_strings)
|
|||||||
const Obj_Entry *obj; /* from shared loader */
|
const Obj_Entry *obj; /* from shared loader */
|
||||||
struct ps_strings *ps_strings;
|
struct ps_strings *ps_strings;
|
||||||
{
|
{
|
||||||
char *namep;
|
|
||||||
|
|
||||||
environ = envp;
|
environ = envp;
|
||||||
|
|
||||||
miniprintf("argc = %d argv = %p envp = %p cleanup = %p obj = %p ps_strings = %p\n", argc, argv, envp, cleanup, obj, ps_strings);
|
|
||||||
|
|
||||||
if ((__progname = argv[0]) != NULL) { /* NULL ptr if argc = 0 */
|
if ((__progname = argv[0]) != NULL) { /* NULL ptr if argc = 0 */
|
||||||
if ((__progname = _strrchr(__progname, '/')) == NULL)
|
if ((__progname = _strrchr(__progname, '/')) == NULL)
|
||||||
__progname = argv[0];
|
__progname = argv[0];
|
||||||
@ -156,7 +152,7 @@ ___start(argc, argv, envp, cleanup, obj, ps_strings)
|
|||||||
* NOTE: Leave the RCS ID _after_ __start(), in case it gets placed in .text.
|
* NOTE: Leave the RCS ID _after_ __start(), in case it gets placed in .text.
|
||||||
*/
|
*/
|
||||||
#if defined(LIBC_SCCS) && !defined(lint)
|
#if defined(LIBC_SCCS) && !defined(lint)
|
||||||
__RCSID("$NetBSD: crt0.c,v 1.2 1999/01/10 18:20:13 christos Exp $");
|
__RCSID("$NetBSD: crt0.c,v 1.3 1999/01/11 09:34:17 christos Exp $");
|
||||||
#endif /* LIBC_SCCS and not lint */
|
#endif /* LIBC_SCCS and not lint */
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
|
Loading…
Reference in New Issue
Block a user