diff --git a/fn.h b/fn.h index b474c55..dad3db9 100644 --- a/fn.h +++ b/fn.h @@ -39,7 +39,6 @@ void backvi(Im*); void dictsend(Im*, Str*); uvlong ownernew(void); -int srvreadkey(int, Keyreq*); void srvthread(void*); void ibusthread(void*); diff --git a/srv.c b/srv.c index eb99a09..eabb785 100644 --- a/srv.c +++ b/srv.c @@ -14,7 +14,7 @@ struct Client uvlong owner; }; -int +static int srvreadkey(int fd, Keyreq *kr) { uchar req[Ipcreqsz];