put env_arg[cv] declaration in minix/sysutil.h
This commit is contained in:
parent
170b420d07
commit
da597227ac
13 changed files with 3 additions and 20 deletions
|
@ -66,7 +66,6 @@ PRIVATE int de_instance;
|
|||
/* SEF functions and variables. */
|
||||
FORWARD _PROTOTYPE( void sef_local_startup, (void) );
|
||||
FORWARD _PROTOTYPE( int sef_cb_init_fresh, (int type, sef_init_info_t *info) );
|
||||
EXTERN char **env_argv;
|
||||
|
||||
/*===========================================================================*
|
||||
* main *
|
||||
|
|
|
@ -134,8 +134,6 @@ _PROTOTYPE( static void do_vir_outsw, (port_t port, int proc,
|
|||
FORWARD _PROTOTYPE( void sef_local_startup, (void) );
|
||||
FORWARD _PROTOTYPE( int sef_cb_init_fresh, (int type, sef_init_info_t *info) );
|
||||
FORWARD _PROTOTYPE( void sef_cb_signal_handler, (int signo) );
|
||||
EXTERN int env_argc;
|
||||
EXTERN char **env_argv;
|
||||
|
||||
PRIVATE void handle_hw_intr(void)
|
||||
{
|
||||
|
|
|
@ -491,7 +491,6 @@ PRIVATE void handle_hw_intr(void)
|
|||
FORWARD _PROTOTYPE( void sef_local_startup, (void) );
|
||||
FORWARD _PROTOTYPE( int sef_cb_init_fresh, (int type, sef_init_info_t *info) );
|
||||
FORWARD _PROTOTYPE( void sef_cb_signal_handler, (int signo) );
|
||||
EXTERN char **env_argv;
|
||||
|
||||
/*
|
||||
** Name: int dpeth_task(void)
|
||||
|
|
|
@ -63,8 +63,6 @@ _PROTOTYPE( PRIVATE void mess_reply, (message *req, message *reply) );
|
|||
FORWARD _PROTOTYPE( void sef_local_startup, (void) );
|
||||
FORWARD _PROTOTYPE( int sef_cb_init_fresh, (int type, sef_init_info_t *info) );
|
||||
FORWARD _PROTOTYPE( void sef_cb_signal_handler, (int signo) );
|
||||
EXTERN int env_argc;
|
||||
EXTERN char **env_argv;
|
||||
|
||||
/*===========================================================================*
|
||||
* main *
|
||||
|
|
|
@ -77,8 +77,6 @@ static char *buf_array, *buffer; /* contiguous buffer */
|
|||
FORWARD _PROTOTYPE( void sef_local_startup, (void) );
|
||||
FORWARD _PROTOTYPE( int sef_cb_init_fresh, (int type, sef_init_info_t *info) );
|
||||
FORWARD _PROTOTYPE( void sef_cb_signal_handler, (int signo) );
|
||||
EXTERN int env_argc;
|
||||
EXTERN char **env_argv;
|
||||
|
||||
/*===========================================================================*
|
||||
* carry *
|
||||
|
|
|
@ -231,8 +231,6 @@ PRIVATE void handle_hw_intr(void)
|
|||
FORWARD _PROTOTYPE( void sef_local_startup, (void) );
|
||||
FORWARD _PROTOTYPE( int sef_cb_init_fresh, (int type, sef_init_info_t *info) );
|
||||
FORWARD _PROTOTYPE( void sef_cb_signal_handler, (int signo) );
|
||||
EXTERN int env_argc;
|
||||
EXTERN char **env_argv;
|
||||
|
||||
/*===========================================================================*
|
||||
* main *
|
||||
|
|
|
@ -265,7 +265,6 @@ phys_bytes lance_buf_phys;
|
|||
FORWARD _PROTOTYPE( void sef_local_startup, (void) );
|
||||
FORWARD _PROTOTYPE( int sef_cb_init_fresh, (int type, sef_init_info_t *info) );
|
||||
FORWARD _PROTOTYPE( void sef_cb_signal_handler, (int signo) );
|
||||
EXTERN char **env_argv;
|
||||
|
||||
/*===========================================================================*
|
||||
* main *
|
||||
|
|
|
@ -180,7 +180,6 @@ PRIVATE u32_t system_hz;
|
|||
FORWARD _PROTOTYPE( void sef_local_startup, (void) );
|
||||
FORWARD _PROTOTYPE( int sef_cb_init_fresh, (int type, sef_init_info_t *info) );
|
||||
FORWARD _PROTOTYPE( void sef_cb_signal_handler, (int signo) );
|
||||
EXTERN char **env_argv;
|
||||
|
||||
/*****************************************************************************
|
||||
* main *
|
||||
|
|
|
@ -141,8 +141,6 @@ FORWARD _PROTOTYPE( void sef_cb_signal_handler, (int signo) );
|
|||
EXTERN _PROTOTYPE( int sef_cb_lu_prepare, (int state) );
|
||||
EXTERN _PROTOTYPE( int sef_cb_lu_state_isvalid, (int state) );
|
||||
EXTERN _PROTOTYPE( void sef_cb_lu_state_dump, (int state) );
|
||||
EXTERN int env_argc;
|
||||
EXTERN char **env_argv;
|
||||
|
||||
/*===========================================================================*
|
||||
* main *
|
||||
|
|
|
@ -270,8 +270,6 @@ u32_t system_hz;
|
|||
FORWARD _PROTOTYPE( void sef_local_startup, (void) );
|
||||
FORWARD _PROTOTYPE( int sef_cb_init_fresh, (int type, sef_init_info_t *info) );
|
||||
FORWARD _PROTOTYPE( void sef_cb_signal_handler, (int signo) );
|
||||
EXTERN int env_argc;
|
||||
EXTERN char **env_argv;
|
||||
|
||||
/*===========================================================================*
|
||||
* main *
|
||||
|
|
|
@ -60,8 +60,6 @@ FORWARD _PROTOTYPE( u8_t do_inb, (port_t port) );
|
|||
/* SEF functions and variables. */
|
||||
FORWARD _PROTOTYPE( void sef_local_startup, (void) );
|
||||
FORWARD _PROTOTYPE( int sef_cb_init_fresh, (int type, sef_init_info_t *info) );
|
||||
EXTERN int env_argc;
|
||||
EXTERN char **env_argv;
|
||||
|
||||
/*===========================================================================*
|
||||
* main *
|
||||
|
|
|
@ -30,6 +30,9 @@
|
|||
#define EP_SET 3 /* var = 1:2:3 (nonblank field) */
|
||||
#define EP_EGETKENV 4 /* sys_getkenv() failed ... */
|
||||
|
||||
extern int env_argc;
|
||||
extern char **env_argv;
|
||||
|
||||
_PROTOTYPE( void env_setargs, (int argc, char *argv[]) );
|
||||
_PROTOTYPE( int env_get_param, (char *key, char *value, int max_size) );
|
||||
_PROTOTYPE( int env_prefix, (char *env, char *prefix) );
|
||||
|
|
|
@ -33,8 +33,6 @@ PRIVATE struct optset optset_table[] = {
|
|||
FORWARD _PROTOTYPE( void sef_local_startup, (void) );
|
||||
FORWARD _PROTOTYPE( int sef_cb_init_fresh, (int type, sef_init_info_t *info) );
|
||||
FORWARD _PROTOTYPE( void sef_cb_signal_handler, (int signo) );
|
||||
EXTERN int env_argc;
|
||||
EXTERN char **env_argv;
|
||||
|
||||
/*===========================================================================*
|
||||
* sef_cb_init_fresh *
|
||||
|
|
Loading…
Reference in a new issue