diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-11-24 22:03:23 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-11-24 22:03:23 +0000 |
commit | c8011f4bfd1e30ff14170e645992a7482e6edc06 (patch) | |
tree | 1c4da432cc1da3146f411be266fc513b65adb06f | |
parent | f3f4519561a47a1b7e488939a2cb27d39d7d40e1 (diff) | |
download | termo-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.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) |