Static-ify a variable. make du work with all the human-readable variants
[oweals/busybox.git] / true_false.c
index eb9466b7b29e8627df746915e1052e533d032b24..47d3bb1e4dbe02f649e6041e24478755b259a99d 100644 (file)
@@ -1,8 +1,9 @@
+/* vi: set sw=4 ts=4: */
 /*
  * Mini true/false implementation for busybox
  *
  *
- * Copyright (C) 1999 by Lineo, inc.
+ * 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
  *
  */
 
-#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)
 {
-       exit( TRUE);
+       return EXIT_SUCCESS;
 }
 
-extern int
-false_main(int argc, char** argv)
+extern int false_main(int argc, char **argv)
 {
-       exit( FALSE);
+       return EXIT_FAILURE;
 }
-