diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-01-04 13:09:01 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-01-04 13:09:01 -0800 |
commit | edb973fadc8d359aa212999d8f447b0de9589789 (patch) | |
tree | 4aebedb5937b567100243bac071853f2bc398a78 /util.h | |
parent | 77f1b1f0fe27778750bb9b9aa53f6bc42d5e5843 (diff) |
Hack around xdm's dumb assumption that the login shell is POSIX compliant so we no longer kill OpenSUSE
https://github.com/fish-shell/fish-shell/issues/367
Also fix some formatting
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -1,11 +1,5 @@ /** \file util.h Generic utilities library. - - All containers in this library except strinb_buffer_t are written - so that they don't allocate any memory until the first element is - inserted into them. That way it is known to be very cheap to - initialize various containers at startup, supporting the fish - notion of doing as much lazy initalization as possible. */ #ifndef FISH_UTIL_H @@ -16,17 +10,6 @@ #include <unistd.h> /** - Buffer for concatenating arbitrary data. -*/ -typedef struct buffer -{ - char *buff; /**<data buffer*/ - size_t length; /**< Size of buffer */ - size_t used; /**< Size of data in buffer */ -} -buffer_t; - -/** Returns the larger of two ints */ template<typename T> |