summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-03-25 11:50:35 +0100
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-03-25 11:50:35 +0100
commit30da4c65b62b5642f3f603b883e695ce2df2e50b (patch)
treec5c15dbe5ac35578aea922ccd5f7d07c9bc00f47 /src/ipcpd
parentdc8e71461eb6c1c72dbfd38261a1616c053e7bbd (diff)
downloadouroboros-30da4c65b62b5642f3f603b883e695ce2df2e50b.tar.gz
ouroboros-30da4c65b62b5642f3f603b883e695ce2df2e50b.zip
lib/ipcpd: fixed logging mistake
logs should be included in source, not in header
Diffstat (limited to 'src/ipcpd')
-rw-r--r--src/ipcpd/pci.c4
-rw-r--r--src/ipcpd/pci.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/ipcpd/pci.c b/src/ipcpd/pci.c
index 19c42e53..548e40e2 100644
--- a/src/ipcpd/pci.c
+++ b/src/ipcpd/pci.c
@@ -25,6 +25,10 @@
#include <malloc.h>
#include <errno.h>
+#define OUROBOROS_PREFIX "ipcp/pci"
+
+#include <ouroboros/logs.h>
+
#define PCI_HEAD_SIZE(a, b) a.addr_size * 2 + \
a.cep_id_size * 2 + \
a.pdu_length_size + \
diff --git a/src/ipcpd/pci.h b/src/ipcpd/pci.h
index c7095bbd..3c011723 100644
--- a/src/ipcpd/pci.h
+++ b/src/ipcpd/pci.h
@@ -24,10 +24,7 @@
#ifndef OUROBOROS_IPCP_PCI_H
#define OUROBOROS_IPCP_PCI_H
-#define OUROBOROS_PREFIX "ipcp/pci"
-
#include "ouroboros/du_buff.h"
-#include "ouroboros/logs.h"
#include "dt_const.h"
struct pci;