summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-03-25 11:54:30 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-03-25 11:54:30 +0100
commit35b00759a9616033aa19177ba3281eb9643509d2 (patch)
treec5c15dbe5ac35578aea922ccd5f7d07c9bc00f47 /src/ipcpd
parentdc8e71461eb6c1c72dbfd38261a1616c053e7bbd (diff)
parent30da4c65b62b5642f3f603b883e695ce2df2e50b (diff)
downloadouroboros-35b00759a9616033aa19177ba3281eb9643509d2.tar.gz
ouroboros-35b00759a9616033aa19177ba3281eb9643509d2.zip
Merged in dstaesse/ouroboros/be-logfix (pull request #41)
lib/ipcpd: fixed logging mistake
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;