no, getopt.h is gnu specific

This commit is contained in:
Connor Lane Smith 2011-05-24 18:58:36 +01:00
parent da547fb294
commit f458397d5a
11 changed files with 1 additions and 11 deletions

1
cat.c
View File

@ -1,7 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <unistd.h>
#include "util.h"

View File

@ -6,6 +6,6 @@ VERSION = 0.0
AR = ar
CPPFLAGS = -D_BSD_SOURCE
CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2
CFLAGS = -Os -ansi -Wall -pedantic $(CPPFLAGS)
LDFLAGS = -s -static

1
date.c
View File

@ -2,7 +2,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <getopt.h>
#include <unistd.h>
#include "util.h"

1
echo.c
View File

@ -2,7 +2,6 @@
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <unistd.h>
int

1
grep.c
View File

@ -2,7 +2,6 @@
#include <regex.h>
#include <stdbool.h>
#include <stdio.h>
#include <getopt.h>
#include <stdlib.h>
#include <unistd.h>

1
ln.c
View File

@ -2,7 +2,6 @@
#include <stdbool.h>
#include <stdlib.h>
#include <unistd.h>
#include <getopt.h>
#include "util.h"
int

1
rm.c
View File

@ -5,7 +5,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include <unistd.h>
#include "util.h"

View File

@ -1,7 +1,6 @@
/* See LICENSE file for copyright and license details. */
#include <stdlib.h>
#include <unistd.h>
#include <getopt.h>
#include "util.h"
int

1
tee.c
View File

@ -3,7 +3,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <getopt.h>
#include "util.h"
int

View File

@ -3,7 +3,6 @@
#include <fcntl.h>
#include <stdbool.h>
#include <stdlib.h>
#include <getopt.h>
#include <time.h>
#include <unistd.h>
#include <utime.h>

1
wc.c
View File

@ -3,7 +3,6 @@
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <unistd.h>
#include "util.h"