summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2020-11-15 20:24:59 +0000
committerScott Long <scottl@FreeBSD.org>2020-11-15 20:24:59 +0000
commit7ee72ffe16557596f60b49b819661d2831d822a2 (patch)
treeceb8a6d909b31aec6c5c9612b3d1008796ac8eae
parente54b036731b8ce528e8258d353204cc80c71751c (diff)
downloadpw-darwin-7ee72ffe16557596f60b49b819661d2831d822a2.tar.gz
pw-darwin-7ee72ffe16557596f60b49b819661d2831d822a2.tar.zst
pw-darwin-7ee72ffe16557596f60b49b819661d2831d822a2.zip
Revert the whole getlocalbase() set of changes while a different design is
hashed out.
-rw-r--r--libutil/libutil.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libutil/libutil.h b/libutil/libutil.h
index 1c72f59..2ac5e97 100644
--- a/libutil/libutil.h
+++ b/libutil/libutil.h
@@ -65,11 +65,6 @@ typedef __size_t size_t;
#define _SIZE_T_DECLARED
#endif
-#ifndef _SSIZE_T_DECLARED
-typedef __ssize_t ssize_t;
-#define _SSIZE_T_DECLARED
-#endif
-
#ifndef _UID_T_DECLARED
typedef __uid_t uid_t;
#define _UID_T_DECLARED
@@ -103,7 +98,6 @@ int flopen(const char *_path, int _flags, ...);
int flopenat(int _dirfd, const char *_path, int _flags, ...);
int forkpty(int *_amaster, char *_name,
struct termios *_termp, struct winsize *_winp);
-ssize_t getlocalbase(char *path, size_t pathlen);
void hexdump(const void *_ptr, int _length, const char *_hdr, int _flags);
int humanize_number(char *_buf, size_t _len, int64_t _number,
const char *_suffix, int _scale, int _flags);