X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fidmapd%2Fidmapd.c;h=76a56ef6b58f7a8f0d5efa8c7f2f6350f81e3a14;hb=6f07548141e710767d425e119d9823691293771d;hp=9ecab66f2696adec7cb7e82ebb8cac95146b8b37;hpb=14e6ec262e58e962c2d7e9161ca9c56529de3170;p=nfs-utils.git diff --git a/utils/idmapd/idmapd.c b/utils/idmapd/idmapd.c index 9ecab66..76a56ef 100644 --- a/utils/idmapd/idmapd.c +++ b/utils/idmapd/idmapd.c @@ -119,8 +119,8 @@ struct idmap_client { static struct idmap_client nfsd_ic[2] = { { .ic_which = IC_IDNAME, - .ic_clid = "Server", - .ic_id = "", + .ic_clid = "", + .ic_id = "Server", .ic_path = IC_IDNAME_CHAN, .ic_fd = -1, .ic_dirfd = -1, @@ -128,8 +128,8 @@ static struct idmap_client nfsd_ic[2] = { }, { .ic_which = IC_NAMEID, - .ic_clid = "Server", - .ic_id = "", + .ic_clid = "", + .ic_id = "Server", .ic_path = IC_NAMEID_CHAN, .ic_fd = -1, .ic_dirfd = -1, @@ -158,10 +158,6 @@ static int nfsdopenone(struct idmap_client *); static void nfsdreopen_one(struct idmap_client *); static void nfsdreopen(void); -size_t strlcat(char *, const char *, size_t); -size_t strlcpy(char *, const char *, size_t); -ssize_t atomicio(ssize_t (*f) (int, void*, size_t), - int, void *, size_t); void mydaemon(int, int); void release_parent(void);