diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 9 | ||||
-rw-r--r-- | include/util/compat.h | 4 |
2 files changed, 0 insertions, 13 deletions
diff --git a/include/common.h b/include/common.h index 93bbb26..b8fe6e4 100644 --- a/include/common.h +++ b/include/common.h @@ -148,15 +148,6 @@ bool is_filename_sane(const char *name); */ int mkdir_p(const char *path); -/* Returns 0 on success. On failure, prints error message to stderr. */ -int pushd(const char *path); - -/* Same as pushd, but the string doesn't have to be null-terminated. */ -int pushdn(const char *path, size_t len); - -/* Returns 0 on success. On failure, prints error message to stderr. */ -int popd(void); - /* A common implementation of the '--version' command line flag. */ void print_version(const char *progname); diff --git a/include/util/compat.h b/include/util/compat.h index 76ede23..fae9d92 100644 --- a/include/util/compat.h +++ b/include/util/compat.h @@ -7,10 +7,6 @@ #ifndef COMPAT_H #define COMPAT_H -#ifndef __linux__ -#define O_PATH 0 -#endif - #if defined(__APPLE__) #include <libkern/OSByteOrder.h> |