Displaying 2 results from an estimated 2 matches for "8d2a536".
Did you mean:
8d27546
2016 Jan 06
0
[klibc:master] Remove obsolete getpt() function
....o reboot.o \
+ syslog.o closelog.o pty.o posix_openpt.o isatty.o reboot.o \
time.o utime.o lseek.o nice.o getpriority.o \
qsort.o bsearch.o \
lrand48.o jrand48.o mrand48.o nrand48.o srand48.o seed48.o \
diff --git a/usr/klibc/getpt.c b/usr/klibc/getpt.c
deleted file mode 100644
index 8d2a536..0000000
--- a/usr/klibc/getpt.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * getpt.c
- *
- * GNU extension to the standard Unix98 pty suite
- */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <termios.h>
-#include <fcntl.h>
-
-int getpt(void)
-{
-...
2010 Nov 20
3
[PATCH 1/4] utils: cleanup unused includes
several errno.h for no good reasons.
cleanup losesetup which is not using getopt_long,
thus doesn't need getopt.h included.
Move stdarg.h include up in losesetup to more proper place.
Signed-off-by: maximilian attems <max at stro.at>
---
usr/utils/dmesg.c | 1 -
usr/utils/losetup.c | 4 +---
usr/utils/mkfifo.c | 1 -
usr/utils/nuke.c | 1 -
usr/utils/umount.c | 1