Static-ify a variable. make du work with all the human-readable variants
[oweals/busybox.git] / true_false.c
index 5ae221b3a2810c66d76a9853e00488a44f6852c4..47d3bb1e4dbe02f649e6041e24478755b259a99d 100644 (file)
@@ -3,7 +3,7 @@
  * Mini true/false implementation for busybox
  *
  *
- * Copyright (C) 1999,2000 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)
 {
-       exit(TRUE);
+       return EXIT_SUCCESS;
 }
 
 extern int false_main(int argc, char **argv)
 {
-       exit(FALSE);
+       return EXIT_FAILURE;
 }