aboutsummaryrefslogtreecommitdiff
path: root/src/lib/rpc/getrpcent.c
diff options
context:
space:
mode:
authorArjun <pkillarjun@protonmail.com>2024-05-09 20:47:08 +0530
committerGreg Hudson <ghudson@mit.edu>2024-05-22 17:14:53 -0400
commit623d649ba852839ba4822934bad9f97c184bf3ab (patch)
tree077db06826b6bc4800fff815cdcc452d9ec11888 /src/lib/rpc/getrpcent.c
parentd035119c3b2b402f3ad49a4c7b6264826ea923bb (diff)
downloadkrb5-623d649ba852839ba4822934bad9f97c184bf3ab.zip
krb5-623d649ba852839ba4822934bad9f97c184bf3ab.tar.gz
krb5-623d649ba852839ba4822934bad9f97c184bf3ab.tar.bz2
Fix more non-prototype functions
Add "void" designations to more function declarations and definitions not changed by commits 3ae9244cd021a75eba909d872a92c25db490714d and 4b9d7f7c107f01a61600fddcd8cde3812d0366a2. [ghudson@mit.edu: change additional functions; split into two commits; rewrote commit message]
Diffstat (limited to 'src/lib/rpc/getrpcent.c')
-rw-r--r--src/lib/rpc/getrpcent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/rpc/getrpcent.c b/src/lib/rpc/getrpcent.c
index ad6793f..b3d94bc 100644
--- a/src/lib/rpc/getrpcent.c
+++ b/src/lib/rpc/getrpcent.c
@@ -56,10 +56,10 @@ struct rpcdata {
char line[BUFSIZ+1];
char *domain;
} *rpcdata;
-static struct rpcdata *get_rpcdata();
+static struct rpcdata *get_rpcdata(void);
-static struct rpcent *interpret();
-struct hostent *gethostent();
+static struct rpcent *interpret(void);
+struct hostent *gethostent(void);
static char RPCDB[] = "/etc/rpc";