diff options
-rw-r--r-- | include/rpc/auth.h | 2 | ||||
-rw-r--r-- | lib/libc/rpc/getpublickey.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/rpc/auth.h b/include/rpc/auth.h index 5cb9abd..fd48421 100644 --- a/include/rpc/auth.h +++ b/include/rpc/auth.h @@ -299,7 +299,7 @@ __END_DECLS */ __BEGIN_DECLS extern int getpublickey (const char *, char *); -extern int getpublicandprivatekey (char *, char *); +extern int getpublicandprivatekey (const char *, char *); extern int getsecretkey (char *, char *, char *); __END_DECLS diff --git a/lib/libc/rpc/getpublickey.c b/lib/libc/rpc/getpublickey.c index d7b3736..3c95338 100644 --- a/lib/libc/rpc/getpublickey.c +++ b/lib/libc/rpc/getpublickey.c @@ -65,7 +65,7 @@ int (*__getpublickey_LOCAL)() = 0; */ static int __getpublickey_real(netname, publickey) - char *netname; + const char *netname; char *publickey; { char lookup[3 * HEXKEYBYTES]; @@ -92,7 +92,7 @@ __getpublickey_real(netname, publickey) int getpublicandprivatekey(key, ret) - char *key; + const char *key; char *ret; { char buf[1024]; /* big enough */ |