[PATCH] gsm_utils.c: cleanup + do not use dynamic memory when decoding 7bit messages

Nico Golde osmocom at ngolde.de
Mon Sep 17 18:30:38 CEST 2012


Hi,
attached is a patch that cleans up gsm_7bit_decode_hdr() a 
little and removes the need for calloc/free. This way, this 
function can be used on systems that do not have the 
required allocation routines (e.g. a layer1 firmware).

This is a bit selfish, as I personally need it :)

Cheers
Nico

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gsm_utils.c-cleanup-do-not-use-dynamic-memory-when-d.patch
Type: text/x-diff
Size: 1804 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20120917/ba394633/attachment.patch>


More information about the baseband-devel mailing list