aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_unixize.h
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-06 01:28:25 +0000
committerjozan <jozan@noemail.net>2020-11-06 01:28:25 +0000
commit4c62287110a7b81769d6999950b4a27a3d0cc046 (patch)
tree3b7b6729c3f019a269e7224a3b9b68cd941bde94 /src/c_unixize.h
parentLooks like I have to code well (diff)
downloadunixize-4c62287110a7b81769d6999950b4a27a3d0cc046.tar.gz
unixize-4c62287110a7b81769d6999950b4a27a3d0cc046.tar.bz2
unixize-4c62287110a7b81769d6999950b4a27a3d0cc046.tar.xz
unixize-4c62287110a7b81769d6999950b4a27a3d0cc046.tar.zst
unixize-4c62287110a7b81769d6999950b4a27a3d0cc046.zip
Recursion in progress
FossilOrigin-Name: 9acb0381b558565524c28866313ef303bca12cadc7def46d3a0efef91ffb8a81
Diffstat (limited to '')
-rw-r--r--src/c_unixize.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/c_unixize.h b/src/c_unixize.h
index a43f887..965ff3f 100644
--- a/src/c_unixize.h
+++ b/src/c_unixize.h
@@ -48,12 +48,15 @@
#include <sys/param.h>
-typedef enum bool_e {
+typedef unsigned char bool_t;
+
+enum bool_e {
FALSE,
TRUE
-} bool_t;
+};
struct opts_s {
+ bool_t confirm;
bool_t hidden;
bool_t hyphen;
bool_t pretend;