X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=clear.c;h=503bafa16e31bdd95e1a492ab72b49ce0ca45632;hb=044228d5ecb9b79397f9fc915d046cf4538281e2;hp=c0c94d06e5f1b88e12633cf1e281bf1511ae1f2b;hpb=2b69c40e8060934c115922c012737bd471956f09;p=oweals%2Fbusybox.git diff --git a/clear.c b/clear.c index c0c94d06e..503bafa16 100644 --- a/clear.c +++ b/clear.c @@ -1,7 +1,10 @@ +/* vi: set sw=4 ts=4: */ /* * Mini clear implementation for busybox * - * Copyright (C) 1998 by Erik Andersen + * + * Copyright (C) 1999,2000,2001 by Lineo, inc. + * Written by Erik Andersen , * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,13 +22,13 @@ * */ -#include "internal.h" #include +#include +#include "busybox.h" -extern int -clear_main(int argc, char** argv) +extern int clear_main(int argc, char **argv) { printf("\033[H\033[J"); - return 0; + return EXIT_SUCCESS; }