opengitway / btstack

Automatically exported from code.google.com/p/btstack
0 stars 0 forks source link

compiler error for parse_service_search_response #383

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
sdp_client.c r2354

ARM GCC compiler v4.7.2 throws an error

error: static declaration of 'parse_service_search_response' follows non-static 
declaration

I solved the problem by adding the function prototype to around line 62 of the 
file

Original issue reported on code.google.com by frank.zhao.main@gmail.com on 9 Feb 2014 at 4:03

GoogleCodeExporter commented 9 years ago
good point. fixed in r2355.

Original comment by matthias.ringwald@gmail.com on 9 Feb 2014 at 3:19