[PATCH] libosmocore[master]: sercomm: include header file from osmocom/core

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon May 15 15:34:27 UTC 2017


Review at  https://gerrit.osmocom.org/2637

sercomm: include header file from osmocom/core

Change-Id: Iff5ff3a51d7781bcfb3aff0839b733bc7a71b7e5
---
M src/sercomm.c
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/37/2637/1

diff --git a/src/sercomm.c b/src/sercomm.c
index f96be83..111565f 100644
--- a/src/sercomm.c
+++ b/src/sercomm.c
@@ -25,6 +25,7 @@
 #include <errno.h>
 
 #include <osmocom/core/msgb.h>
+#include <osmocom/core/sercomm.h>
 
 #ifdef HOST_BUILD
 
@@ -32,7 +33,6 @@
 # ifndef ARRAY_SIZE
 #  define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
 # endif
-# include <sercomm.h>
 
 static inline void sercomm_lock(unsigned long __attribute__((unused)) *flags) {}
 static inline void sercomm_unlock(unsigned long __attribute__((unused)) *flags) {}
@@ -54,7 +54,6 @@
 	local_irq_restore(*flags);
 }
 
-# include <comm/sercomm.h>
 # include <uart.h>
 
 #endif

-- 
To view, visit https://gerrit.osmocom.org/2637
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iff5ff3a51d7781bcfb3aff0839b733bc7a71b7e5
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list