libauth: remove unneeded includes for authsrv.h, avoid pulling in dependency for rerrstr()
This commit is contained in:
parent
44cbb29308
commit
d71cf7ff1b
4 changed files with 2 additions and 5 deletions
|
@ -1,7 +1,6 @@
|
|||
#include <u.h>
|
||||
#include <libc.h>
|
||||
#include <auth.h>
|
||||
#include <authsrv.h>
|
||||
#include "authlocal.h"
|
||||
|
||||
Attr*
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#include <u.h>
|
||||
#include <libc.h>
|
||||
#include <auth.h>
|
||||
#include <authsrv.h>
|
||||
#include "authlocal.h"
|
||||
|
||||
Chalstate*
|
||||
|
|
|
@ -128,8 +128,8 @@ fauth_proxy(int fd, AuthRpc *rpc, AuthGetkey *getkey, char *params)
|
|||
return nil;
|
||||
}
|
||||
|
||||
rerrstr(oerr, sizeof oerr);
|
||||
werrstr("UNKNOWN AUTH ERROR");
|
||||
strcpy(oerr, "UNKNOWN AUTH ERROR");
|
||||
errstr(oerr, sizeof oerr);
|
||||
|
||||
if(dorpc(rpc, "start", params, strlen(params), getkey) != ARok){
|
||||
werrstr("fauth_proxy start: %r");
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#include <u.h>
|
||||
#include <libc.h>
|
||||
#include <auth.h>
|
||||
#include <authsrv.h>
|
||||
#include "authlocal.h"
|
||||
|
||||
enum {
|
||||
|
|
Loading…
Reference in a new issue