aboutsummaryrefslogtreecommitdiff
path: root/toys.h
diff options
context:
space:
mode:
authorIsaac Dunham <ibid.ag@gmail.com>2014-04-09 17:26:09 -0500
committerIsaac Dunham <ibid.ag@gmail.com>2014-04-09 17:26:09 -0500
commit9953f64c02ad754b2831e02651ae7f8bec9b67d1 (patch)
tree74d1a14123043c223c8d285ed97722c762b156da /toys.h
parentbe07288043fbc4bd7a1a4688d0bf17af4b6e73d7 (diff)
downloadtoybox-9953f64c02ad754b2831e02651ae7f8bec9b67d1.tar.gz
modprobe: cleanup, incorporate Ashwini's fix for alias loading
Move <fnmatch.h> to toys.h, since it's POSIX. Avoid duplicating code in an if/else block. Terser error messages, spelling. Don't always print the state.
Diffstat (limited to 'toys.h')
-rw-r--r--toys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/toys.h b/toys.h
index 2f165967..31193a4d 100644
--- a/toys.h
+++ b/toys.h
@@ -13,6 +13,7 @@
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
+#include <fnmatch.h>
#include <grp.h>
#include <inttypes.h>
#include <limits.h>