summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-07-07 15:37:34 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-07-07 15:40:43 +0200
commitb3870ef695a256be4a4ed28a991c39aab37bd6f3 (patch)
tree33604c48880d3a01d7053608584236dd15fc43e8 /src/ipcpd
parent04a8f3ceedefa63f9344311e5ff05ab3ce754fda (diff)
downloadouroboros-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/ipcpd')
-rw-r--r--src/ipcpd/local/main.c2
-rw-r--r--src/ipcpd/normal/shm_pci.c3
-rw-r--r--src/ipcpd/shim-eth-llc/main.c2
3 files changed, 4 insertions, 3 deletions
diff --git a/src/ipcpd/local/main.c b/src/ipcpd/local/main.c
index fee7fd22..d72269b8 100644
--- a/src/ipcpd/local/main.c
+++ b/src/ipcpd/local/main.c
@@ -23,6 +23,7 @@
#include <ouroboros/config.h>
#include "ipcp.h"
#include "flow.h"
+#include <ouroboros/errno.h>
#include <ouroboros/shm_du_map.h>
#include <ouroboros/shm_ap_rbuff.h>
#include <ouroboros/list.h>
@@ -38,7 +39,6 @@
#include <ouroboros/logs.h>
-#include <errno.h>
#include <string.h>
#include <signal.h>
#include <stdlib.h>
diff --git a/src/ipcpd/normal/shm_pci.c b/src/ipcpd/normal/shm_pci.c
index e76d8009..144bd15e 100644
--- a/src/ipcpd/normal/shm_pci.c
+++ b/src/ipcpd/normal/shm_pci.c
@@ -21,9 +21,10 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <ourboros/errno.h>
+
#include "shm_pci.h"
#include <stdlib.h>
-#include <errno.h>
#define SHM_PCI_HEAD_SIZE(a, b) a.addr_size * 2 + \
a.cep_id_size * 2 + \
diff --git a/src/ipcpd/shim-eth-llc/main.c b/src/ipcpd/shim-eth-llc/main.c
index 4c260301..f82438c6 100644
--- a/src/ipcpd/shim-eth-llc/main.c
+++ b/src/ipcpd/shim-eth-llc/main.c
@@ -26,6 +26,7 @@
#include "ipcp.h"
#include "flow.h"
+#include <ouroboros/errno.h>
#include <ouroboros/shm_du_map.h>
#include <ouroboros/shm_ap_rbuff.h>
#include <ouroboros/list.h>
@@ -47,7 +48,6 @@
#include <pthread.h>
#include <fcntl.h>
#include <unistd.h>
-#include <errno.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>