• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/libaudio


Commit MetaInfo

Revisionbe031164f36a1368220e1e566d16a2b4ee2ecaa0 (tree)
Time2015-10-16 01:26:16
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

include the header for string functions prototypes

Also fixes the warning of unused parameter 'tag_name'.

Change Summary

Incremental Difference

--- a/audio_route.c
+++ b/audio_route.c
@@ -22,6 +22,7 @@
2222 #include <expat.h>
2323 #include <stdbool.h>
2424 #include <stdio.h>
25+#include <string.h>
2526
2627 #include <cutils/log.h>
2728
@@ -328,7 +329,7 @@ static void start_tag(void *data, const XML_Char *tag_name,
328329 state->level++;
329330 }
330331
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__)))
332333 {
333334 struct config_parse_state *state = data;
334335