Make termkey_new_full() static for now until we expose the API fully

This commit is contained in:
Paul LeoNerd Evans 2008-11-24 22:03:23 +00:00
parent f3f4519561
commit c8011f4bfd
1 changed files with 4 additions and 1 deletions

View File

@ -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)