[PATCH] libosmocore[master]: strrb: Add missing #include to talloc.h

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 11:14:19 UTC 2017


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

strrb: Add missing #include to talloc.h

The strrb.c code uses talloc API without using the proper #include.

Change-Id: I4ac485324f40545339d8df6884f1dea319a23648
---
M src/strrb.c
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/28/2628/1

diff --git a/src/strrb.c b/src/strrb.c
index 8f925bd..069a699 100644
--- a/src/strrb.c
+++ b/src/strrb.c
@@ -30,6 +30,7 @@
 #include <string.h>
 
 #include <osmocom/core/strrb.h>
+#include <osmocom/core/talloc.h>
 
 /* Ringbuffer assumptions, invarients, and notes:
  * - start is the index of the first used index slot in the ring buffer.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4ac485324f40545339d8df6884f1dea319a23648
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