lineedit: do not hang on error, but return error indicator.
[oweals/busybox.git] / libbb / default_error_retval.c
index f4e46a4b54bb56414578234e85f949bcc7cda3aa..4f6395fa20000406cee9bc3afedd9c8d9edbe8ab 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright (C) 2003  Manuel Novoa III  <mjn3@codepoet.org>
  *
- * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
+ * Licensed under GPLv2 or later, see file LICENSE in this source tree.
  */
 
 /* Seems silly to copyright a global variable.  ;-)  Oh well.
@@ -13,7 +13,6 @@
  * that too seems silly.
  */
 
-#include <stdlib.h>
 #include "libbb.h"
 
-int xfunc_error_retval = EXIT_FAILURE;
+uint8_t xfunc_error_retval = EXIT_FAILURE;