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/irmd | |
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/irmd')
-rw-r--r-- | src/irmd/main.c | 2 | ||||
-rw-r--r-- | src/irmd/registry.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c index c1481a67..19bc5b9b 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -24,6 +24,7 @@ #define OUROBOROS_PREFIX "irmd" #include <ouroboros/config.h> +#include <ouroboros/errno.h> #include <ouroboros/logs.h> #include <ouroboros/sockets.h> #include <ouroboros/ipcp.h> @@ -46,7 +47,6 @@ #include <sys/un.h> #include <signal.h> #include <stdlib.h> -#include <errno.h> #include <string.h> #include <limits.h> #include <pthread.h> diff --git a/src/irmd/registry.c b/src/irmd/registry.c index ae532d5a..c5f81d77 100644 --- a/src/irmd/registry.c +++ b/src/irmd/registry.c @@ -26,13 +26,13 @@ #define OUROBOROS_PREFIX "registry" +#include <ouroboros/errno.h> #include <ouroboros/logs.h> #include <ouroboros/irm_config.h> #include <stdlib.h> #include <stdbool.h> #include <string.h> -#include <errno.h> struct reg_instance * reg_instance_create(pid_t api) { |