aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_opts.h
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-04 19:38:06 +0000
committerjozan <jozan@noemail.net>2020-11-04 19:38:06 +0000
commitce1e4beee7a7f881363648deb663c00e38078563 (patch)
treecb7af0b3b42b6bef4d0465b9b5b8140bafe49587 /src/c_opts.h
parentCorrectly parsed options (diff)
downloadunixize-ce1e4beee7a7f881363648deb663c00e38078563.tar.gz
unixize-ce1e4beee7a7f881363648deb663c00e38078563.tar.bz2
unixize-ce1e4beee7a7f881363648deb663c00e38078563.tar.xz
unixize-ce1e4beee7a7f881363648deb663c00e38078563.tar.zst
unixize-ce1e4beee7a7f881363648deb663c00e38078563.zip
Now getting directory files
FossilOrigin-Name: 1875ab7cf0cbb651b8b45271cb5cd5b5c01974caa0128856aa1fd64c26480a7c
Diffstat (limited to '')
-rw-r--r--src/c_opts.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/c_opts.h b/src/c_opts.h
index 27bacb0..5cbe4c0 100644
--- a/src/c_opts.h
+++ b/src/c_opts.h
@@ -46,26 +46,11 @@
#ifndef __C_OPTS_H__
#define __C_OPTS_H__
-#ifdef __linux__
-#include <linux/limits.h>
-#else
-#include <limits.h>
-#endif
-
#include "c_unixize.h"
#define C_OPTS "ahinpRv"
#define C_USAGE_FMT "usage: unixize [-%s] [directory]\n"
-struct opts_s {
- bool_t hidden;
- bool_t hyphen;
- bool_t pretend;
- bool_t recursive;
- bool_t verbose;
- char dir[PATH_MAX];
-};
-
void c_get_opts(struct opts_s*, int, const char*[]);
#endif /* ifndef __C_OPTS_H__ */