Removed incorrect function declarations.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@220 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1399,7 +1399,6 @@ shell(argc, argv)
|
|||||||
* Fire up the shell in the child.
|
* Fire up the shell in the child.
|
||||||
*/
|
*/
|
||||||
register char *shellp, *shellname;
|
register char *shellp, *shellname;
|
||||||
extern char *strrchr();
|
|
||||||
|
|
||||||
shellp = getenv("SHELL");
|
shellp = getenv("SHELL");
|
||||||
if (shellp == NULL)
|
if (shellp == NULL)
|
||||||
@@ -1676,7 +1675,6 @@ env_init()
|
|||||||
extern char **environ;
|
extern char **environ;
|
||||||
register char **epp, *cp;
|
register char **epp, *cp;
|
||||||
register struct env_lst *ep;
|
register struct env_lst *ep;
|
||||||
extern char *strchr();
|
|
||||||
|
|
||||||
for (epp = environ; *epp; epp++) {
|
for (epp = environ; *epp; epp++) {
|
||||||
if (cp = strchr(*epp, '=')) {
|
if (cp = strchr(*epp, '=')) {
|
||||||
@@ -2298,7 +2296,7 @@ int tn(int argc, char **argv)
|
|||||||
unsigned long temp;
|
unsigned long temp;
|
||||||
extern char *inet_ntoa();
|
extern char *inet_ntoa();
|
||||||
#if defined(IP_OPTIONS) && defined(IPPROTO_IP)
|
#if defined(IP_OPTIONS) && defined(IPPROTO_IP)
|
||||||
char *srp = 0, *strrchr();
|
char *srp = 0;
|
||||||
unsigned long sourceroute(), srlen;
|
unsigned long sourceroute(), srlen;
|
||||||
#endif
|
#endif
|
||||||
char *cmd, *hostp = 0, *portp = 0, *user = 0;
|
char *cmd, *hostp = 0, *portp = 0, *user = 0;
|
||||||
|
@@ -113,7 +113,7 @@ int main(int argc, char **argv)
|
|||||||
extern char *optarg;
|
extern char *optarg;
|
||||||
extern int optind;
|
extern int optind;
|
||||||
int ch;
|
int ch;
|
||||||
char *user, *strrchr();
|
char *user;
|
||||||
#ifdef FORWARD
|
#ifdef FORWARD
|
||||||
extern int forward_flags;
|
extern int forward_flags;
|
||||||
#endif /* FORWARD */
|
#endif /* FORWARD */
|
||||||
|
Reference in New Issue
Block a user