move DMAIN definition to new debug.h

This way both client.h and bankd.h don't conflict with each other

Change-Id: I68ffd64e1f32b90206f98c7f3ea707d7b2e11e61
This commit is contained in:
Harald Welte 2018-10-14 17:44:25 +02:00
parent b0cef1d776
commit a4e0a2396b
4 changed files with 8 additions and 9 deletions

View File

@ -12,7 +12,7 @@ libosmo_rspro_la_LIBADD = $(OSMOCORE_LIBS) $(OSMOGSM_LIBS) $(OSMOABIS_LIBS) \
rspro/libosmo-asn1-rspro.la
libosmo_rspro_la_SOURCES = rspro_util.c
noinst_HEADERS = bankd.h client.h internal.h rspro_util.h \
noinst_HEADERS = debug.h bankd.h client.h internal.h rspro_util.h \
simtrace2/apdu_dispatch.h \
simtrace2/libusb_util.h \
simtrace2/simtrace2-discovery.h \

View File

@ -13,10 +13,7 @@
#include <osmocom/core/linuxlist.h>
#include "rspro_util.h"
enum {
DMAIN,
};
#include "debug.h"
struct bankd;

View File

@ -4,10 +4,7 @@
#include <osmocom/abis/ipa.h>
#include "rspro_util.h"
enum {
DMAIN,
};
#include "debug.h"
/* fsm.c */

5
src/debug.h Normal file
View File

@ -0,0 +1,5 @@
#pragma once
enum {
DMAIN,
};