[MERGED] 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
Wed May 17 10:46:40 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: sercomm: include header file from osmocom/core
......................................................................


sercomm: include header file from osmocom/core

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

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: Iff5ff3a51d7781bcfb3aff0839b733bc7a71b7e5
Gerrit-PatchSet: 3
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list