Removed useless external declarations
This commit is contained in:
parent
91874277f8
commit
a22e169fb3
|
@ -3,7 +3,6 @@
|
|||
|
||||
|
||||
#include <unistd.h>
|
||||
extern int optind;
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
|
||||
#include <unistd.h>
|
||||
extern int optind;
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
|
|
1
src/cp.c
1
src/cp.c
|
@ -5,7 +5,6 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
extern int optind;
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
|
||||
|
||||
#include <unistd.h>
|
||||
extern int optind;
|
||||
extern char * optarg;
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
1
src/id.c
1
src/id.c
|
@ -3,7 +3,6 @@
|
|||
|
||||
|
||||
#include <unistd.h>
|
||||
extern int optind;
|
||||
#include <pwd.h>
|
||||
#include <grp.h>
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
#include <sys/types.h>
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
extern char * optarg;
|
||||
extern int optind;
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
1
src/ln.c
1
src/ln.c
|
@ -5,7 +5,6 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
extern int optind;
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
extern char * optarg;
|
||||
extern int optind;
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
|
||||
#include <unistd.h>
|
||||
extern int optind;
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
|
||||
#include <unistd.h>
|
||||
extern int optind;
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
|
||||
|
||||
#include <unistd.h>
|
||||
extern int optind;
|
||||
extern char * optarg;
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
extern int optind;
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user