'Nother patch from Larry to fix a buglet in how the line gets sed-ified.
[oweals/busybox.git] / true_false.c
index c56f5e7afe95cfcf4e7d04b034e8471e0de65205..76183431c5ed8981020162f507f62bf15abbdea4 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"
+/* getopt not needed */
+
+#include <stdlib.h>
+#include "busybox.h"
 
 
 extern int true_main(int argc, char **argv)
 {
-       return(TRUE);
+       return EXIT_SUCCESS;
 }
 
 extern int false_main(int argc, char **argv)
 {
-       return(FALSE);
+       return EXIT_FAILURE;
 }