diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-07-07 15:37:34 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-07-07 15:40:43 +0200 |
commit | b3870ef695a256be4a4ed28a991c39aab37bd6f3 (patch) | |
tree | 33604c48880d3a01d7053608584236dd15fc43e8 /src/lib | |
parent | 04a8f3ceedefa63f9344311e5ff05ab3ce754fda (diff) | |
download | ouroboros-b3870ef695a256be4a4ed28a991c39aab37bd6f3.tar.gz ouroboros-b3870ef695a256be4a4ed28a991c39aab37bd6f3.zip |
ouroboros: Use ouroboros errno.h
All includes of <errno.h> within ouroboros are replaced with the
ouroboros errno.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/ipcp.c | 2 | ||||
-rw-r--r-- | src/lib/shm_ap_rbuff.c | 2 | ||||
-rw-r--r-- | src/lib/shm_du_map.c | 2 | ||||
-rw-r--r-- | src/lib/sockets.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ipcp.c b/src/lib/ipcp.c index 5d46940d..b0e593e4 100644 --- a/src/lib/ipcp.c +++ b/src/lib/ipcp.c @@ -23,6 +23,7 @@ #define OUROBOROS_PREFIX "lib-ipcp" #include <ouroboros/config.h> +#include <ouroboros/errno.h> #include <ouroboros/ipcp.h> #include <ouroboros/common.h> #include <ouroboros/logs.h> @@ -32,7 +33,6 @@ #include <stdlib.h> #include <string.h> #include <signal.h> -#include <errno.h> #include <stdbool.h> #include <sys/types.h> #include <sys/wait.h> diff --git a/src/lib/shm_ap_rbuff.c b/src/lib/shm_ap_rbuff.c index cf795601..618c4c19 100644 --- a/src/lib/shm_ap_rbuff.c +++ b/src/lib/shm_ap_rbuff.c @@ -21,6 +21,7 @@ */ #include <ouroboros/config.h> +#include <ouroboros/errno.h> #define OUROBOROS_PREFIX "shm_ap_rbuff" @@ -35,7 +36,6 @@ #include <string.h> #include <stdint.h> #include <unistd.h> -#include <errno.h> #include <signal.h> #include <sys/stat.h> diff --git a/src/lib/shm_du_map.c b/src/lib/shm_du_map.c index 01d1e23d..6a4b7361 100644 --- a/src/lib/shm_du_map.c +++ b/src/lib/shm_du_map.c @@ -22,6 +22,7 @@ */ #include <ouroboros/config.h> +#include <ouroboros/errno.h> #include <ouroboros/shm_du_map.h> #include <ouroboros/shm_ap_rbuff.h> #include <ouroboros/time_utils.h> @@ -33,7 +34,6 @@ #include <stdlib.h> #include <string.h> #include <signal.h> -#include <errno.h> #include <sys/stat.h> #define OUROBOROS_PREFIX "shm_du_map" diff --git a/src/lib/sockets.c b/src/lib/sockets.c index d60ea91a..9e13b687 100644 --- a/src/lib/sockets.c +++ b/src/lib/sockets.c @@ -23,6 +23,7 @@ #define OUROBOROS_PREFIX "libouroboros-sockets" #include <ouroboros/config.h> +#include <ouroboros/errno.h> #include <ouroboros/logs.h> #include <ouroboros/common.h> #include <ouroboros/sockets.h> @@ -32,7 +33,6 @@ #include <sys/un.h> #include <string.h> #include <stdlib.h> -#include <errno.h> int client_socket_open(char * file_name) { |