summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShawn Landden <shawn@git.icu>2021-01-03 20:07:29 +0400
committerShawn Landden <shawn@git.icu>2021-01-03 20:07:29 +0400
commitb1f72ee0856afa447d2a87d15728ab8c96298879 (patch)
tree2584be04d06d174b2a5797cb7bc6b2e8c36319ca /src
parent0d0cd1ed49b22bc0055891b8ce2fe92837d3aba5 (diff)
downloaddistcc-git-b1f72ee0856afa447d2a87d15728ab8c96298879.tar.gz
Fix ddbb9454ad (rename function to avoid collision with libsystemd)
Diffstat (limited to 'src')
-rw-r--r--src/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index a3d4a34..9eb4337 100644
--- a/src/util.c
+++ b/src/util.c
@@ -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)