hardware/libaudio
Revision | be031164f36a1368220e1e566d16a2b4ee2ecaa0 (tree) |
---|---|
Time | 2015-10-16 01:26:16 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
include the header for string functions prototypes
Also fixes the warning of unused parameter 'tag_name'.
@@ -22,6 +22,7 @@ | ||
22 | 22 | #include <expat.h> |
23 | 23 | #include <stdbool.h> |
24 | 24 | #include <stdio.h> |
25 | +#include <string.h> | |
25 | 26 | |
26 | 27 | #include <cutils/log.h> |
27 | 28 |
@@ -328,7 +329,7 @@ static void start_tag(void *data, const XML_Char *tag_name, | ||
328 | 329 | state->level++; |
329 | 330 | } |
330 | 331 | |
331 | -static void end_tag(void *data, const XML_Char *tag_name) | |
332 | +static void end_tag(void *data, const XML_Char *tag_name __attribute__ ((__unused__))) | |
332 | 333 | { |
333 | 334 | struct config_parse_state *state = data; |
334 | 335 |