aboutsummaryrefslogtreecommitdiffhomepage
path: root/util.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-04 13:09:01 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-04 13:09:01 -0800
commitedb973fadc8d359aa212999d8f447b0de9589789 (patch)
tree4aebedb5937b567100243bac071853f2bc398a78 /util.h
parent77f1b1f0fe27778750bb9b9aa53f6bc42d5e5843 (diff)
Hack around xdm's dumb assumption that the login shell is POSIX compliant so we no longer kill OpenSUSE
Diffstat (limited to 'util.h')
-rw-r--r--util.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/util.h b/util.h
index c3ef0ca9..ee7142be 100644
--- a/util.h
+++ b/util.h
@@ -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>