Code

Use stdbool.h's bool type instead of _Bool.
[sysdb.git] / src / client / sock.c
index 8602532da9eea9d4575d85d52fdc82cc34976c91..ef35166bab13162e84156facbd75d83fdd937b85 100644 (file)
@@ -56,7 +56,7 @@
 struct sdb_client {
        char *address;
        int   fd;
-       _Bool eof;
+       bool  eof;
 };
 
 /*
@@ -327,7 +327,7 @@ sdb_client_recv(sdb_client_t *client,
        return (ssize_t)total;
 } /* sdb_client_recv */
 
-_Bool
+bool
 sdb_client_eof(sdb_client_t *client)
 {
        if ((! client) || (client->fd < 0))