aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-24 22:03:23 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-11-24 22:03:23 +0000
commitc8011f4bfd1e30ff14170e645992a7482e6edc06 (patch)
tree1c4da432cc1da3146f411be266fc513b65adb06f
parentf3f4519561a47a1b7e488939a2cb27d39d7d40e1 (diff)
downloadtermo-c8011f4bfd1e30ff14170e645992a7482e6edc06.tar.gz
termo-c8011f4bfd1e30ff14170e645992a7482e6edc06.tar.xz
termo-c8011f4bfd1e30ff14170e645992a7482e6edc06.zip
Make termkey_new_full() static for now until we expose the API fully
-rw-r--r--termkey.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/termkey.c b/termkey.c
index 0f0975a..b5868cd 100644
--- a/termkey.c
+++ b/termkey.c
@@ -106,7 +106,10 @@ static struct {
{ 0, NULL },
};
-termkey_t *termkey_new_full(int fd, int flags, size_t buffsize, int waittime)
+/* We might expose this as public API one day, when the ideas are finalised.
+ * As yet it isn't public, so keep it static
+ */
+static termkey_t *termkey_new_full(int fd, int flags, size_t buffsize, int waittime)
{
termkey_t *tk = malloc(sizeof(*tk));
if(!tk)