From f6b76710fc61ee6a201d7ded487185649577de38 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 20 Aug 2006 18:01:59 +0200 Subject: [PATCH] Kill dummy ucred struct If unix socked credentials are availabe, this code is #ifdef'd out. If it isn't available (eg. Mac OS) it is unused. --- net.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/net.c b/net.c index 66db86bc..e7c7724b 100644 --- a/net.c +++ b/net.c @@ -391,9 +391,6 @@ int create_pf_socket(const char *name, struct sockaddr_un *unix_addr, int mode) } #ifndef HAVE_UCRED - struct ucred { - uid_t uid, pid, gid; -}; ssize_t send_cred_buffer(int sock, char *buf) { return send_buffer(sock, buf); -- 2.39.5