Fix func prototype
[oweals/busybox.git] / true_false.c
index e0ea959464a5a4bdd7915810782c8ba5a583cf27..47d3bb1e4dbe02f649e6041e24478755b259a99d 100644 (file)
@@ -1,7 +1,10 @@
+/* vi: set sw=4 ts=4: */
 /*
  * Mini true/false implementation for busybox
  *
- * Copyright (C) 1998 by Erik Andersen <andersee@debian.org>
+ *
+ * Copyright (C) 1999,2000,2001 by Lineo, inc.
+ * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org>
  *
  * 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
  *
  */
 
-#include "internal.h"
+#include <stdlib.h>
+#include "busybox.h"
 
 
-extern int
-true_main(int argc, char** argv)
+extern int true_main(int argc, char **argv)
 {
-       return( TRUE);
+       return EXIT_SUCCESS;
 }
 
-extern int
-false_main(int argc, char** argv)
+extern int false_main(int argc, char **argv)
 {
-       return( FALSE);
+       return EXIT_FAILURE;
 }
-