summaryrefslogtreecommitdiffstats
path: root/include/cutils
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-02 13:36:54 -0700
committerElliott Hughes <enh@google.com>2015-04-02 14:25:55 -0700
commitaf98efbd15878fbd97fd3ef3c413d739ed9589e9 (patch)
treef01619eb6b1f5475cdb1f31c8119af854531e244 /include/cutils
parentd8fb29b0c09de25c416141a4bb150cc7db9f28ca (diff)
downloadsystem_core-af98efbd15878fbd97fd3ef3c413d739ed9589e9.zip
system_core-af98efbd15878fbd97fd3ef3c413d739ed9589e9.tar.gz
system_core-af98efbd15878fbd97fd3ef3c413d739ed9589e9.tar.bz2
Move all libcutils tests into the gtests.
This also fixes the bug where we were always testing against the fake strlcpy we provide for glibc/Windows rather than the Android one. This also removes some unnecessary library dependencies. This also builds all the cutils tests for the host (static and dynamic). Change-Id: Icd129d5b025c0ca801be5acf31a54ecd88608df9
Diffstat (limited to 'include/cutils')
-rw-r--r--include/cutils/str_parms.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cutils/str_parms.h b/include/cutils/str_parms.h
index 66f3637..aa1435a 100644
--- a/include/cutils/str_parms.h
+++ b/include/cutils/str_parms.h
@@ -18,6 +18,9 @@
#define __CUTILS_STR_PARMS_H
#include <stdint.h>
+#include <sys/cdefs.h>
+
+__BEGIN_DECLS
struct str_parms;
@@ -52,4 +55,6 @@ char *str_parms_to_str(struct str_parms *str_parms);
/* debug */
void str_parms_dump(struct str_parms *str_parms);
+__END_DECLS
+
#endif /* __CUTILS_STR_PARMS_H */