Make termkey_new_full() static for now until we expose the API fully
This commit is contained in:
parent
f3f4519561
commit
c8011f4bfd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user