diff options
Diffstat (limited to '')
-rw-r--r-- | dirname.c (renamed from core/dirname.c) | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/core/dirname.c b/dirname.c index d8cf7c4..bba867c 100644 --- a/core/dirname.c +++ b/dirname.c @@ -9,13 +9,17 @@ #include <libgen.h> #include <errno.h> -#define REQ_PRINT_USAGE /* Require print_usage() from ../common/common.h */ -#define REQ_ERRPRINT /* Require errprint() from ../common/common.h */ +#define REQ_PRINT_USAGE /* Require print_usage() from common.h */ +#define REQ_ERRPRINT /* Require errprint() from common.h */ #define DESCRIPTION "Return directory portion of <string>." #define OPERANDS "string" -#include "../common/common.h" +#include "common.h" +#ifdef FASESBOX +int dirname_main(int argc, char *argv[]) { +#else int main(int argc, char *argv[]) { +#endif char *dirnamestr; if (argc != 2) { |