projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Syntax error
[oweals/busybox.git]
/
coreutils
/
yes.c
diff --git
a/coreutils/yes.c
b/coreutils/yes.c
index 11fa537a0488a3238d086b543dba142f6e5f61a9..7d9596d0bf72156b53426ec0013254a6fdd127a1 100644
(file)
--- a/
coreutils/yes.c
+++ b/
coreutils/yes.c
@@
-20,15
+20,18
@@
*
*/
*
*/
-#include "internal.h"
+/* getopt not needed */
+
#include <stdio.h>
#include <stdio.h>
+#include <stdlib.h>
+#include "busybox.h"
extern int yes_main(int argc, char **argv)
{
int i;
if (argc >= 2 && *argv[1] == '-')
extern int yes_main(int argc, char **argv)
{
int i;
if (argc >= 2 && *argv[1] == '-')
-
usage(yes_usage
);
+
show_usage(
);
if (argc == 1) {
while (1)
if (argc == 1) {
while (1)