diff options
author | Shawn Landden <shawn@git.icu> | 2021-01-03 20:07:29 +0400 |
---|---|---|
committer | Shawn Landden <shawn@git.icu> | 2021-01-03 20:07:29 +0400 |
commit | b1f72ee0856afa447d2a87d15728ab8c96298879 (patch) | |
tree | 2584be04d06d174b2a5797cb7bc6b2e8c36319ca /src | |
parent | 0d0cd1ed49b22bc0055891b8ce2fe92837d3aba5 (diff) | |
download | distcc-git-b1f72ee0856afa447d2a87d15728ab8c96298879.tar.gz |
Fix ddbb9454ad (rename function to avoid collision with libsystemd)
Diffstat (limited to 'src')
-rw-r--r-- | src/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -938,7 +938,7 @@ ssize_t getline(char **lineptr, size_t *n, FILE *stream) { CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -static int not_sd_is_socket_internal(int fd, int type, int listening) { +static int sd_is_socket_internal(int fd, int type, int listening) { struct stat st_fd; if (fd < 0 || type < 0) @@ -989,7 +989,7 @@ union sockaddr_union { struct sockaddr_storage storage; }; -int sd_is_socket(int fd, int family, int type, int listening) { +int not_sd_is_socket(int fd, int family, int type, int listening) { int r; if (family < 0) |