From 30da4c65b62b5642f3f603b883e695ce2df2e50b Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Fri, 25 Mar 2016 11:50:35 +0100 Subject: lib/ipcpd: fixed logging mistake logs should be included in source, not in header --- src/ipcpd/pci.c | 4 ++++ src/ipcpd/pci.h | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/ipcpd') 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 #include +#define OUROBOROS_PREFIX "ipcp/pci" + +#include + #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; -- cgit v1.2.3