From c8011f4bfd1e30ff14170e645992a7482e6edc06 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Mon, 24 Nov 2008 22:03:23 +0000 Subject: [PATCH] Make termkey_new_full() static for now until we expose the API fully --- termkey.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)