[MERGED] 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 12:44:12 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: strrb: Add missing #include to talloc.h
......................................................................


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(-)

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



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: merged
Gerrit-Change-Id: I4ac485324f40545339d8df6884f1dea319a23648
Gerrit-PatchSet: 2
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