lineedit: do not hang on error, but return error indicator.
[oweals/busybox.git] / libbb / makedev.c
index efd51224f6f5c8b8283bc14231ea61ce1f35e10d..cf59e616b8d286676af648095e7716be0a39009b 100644 (file)
@@ -3,10 +3,11 @@
  *
  * Copyright (C) 2006 Denys Vlasenko
  *
- * Licensed under GPL version 2, see file LICENSE in this tarball for details.
+ * Licensed under GPLv2, see file LICENSE in this source tree.
  */
 
 /* We do not include libbb.h - #define makedev() is there! */
+#include "platform.h"
 #include <features.h>
 #include <sys/sysmacros.h>
 
@@ -15,8 +16,8 @@
 /* uclibc people please check - do we need "&& !__UCLIBC__" above? */
 
 /* suppress gcc "no previous prototype" warning */
-unsigned long long bb_makedev(unsigned int major, unsigned int minor);
-unsigned long long bb_makedev(unsigned int major, unsigned int minor)
+unsigned long long FAST_FUNC bb_makedev(unsigned int major, unsigned int minor);
+unsigned long long FAST_FUNC bb_makedev(unsigned int major, unsigned int minor)
 {
        return makedev(major, minor);
 }