Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1284)

Unified Diff: third_party/expat/files/lib/internal.h

Issue 2761253002: Update expat to 2.2.0 to fix CVE vulnerability. (Closed)
Patch Set: update README.chromium Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/expat/files/lib/expat_external.h.original ('k') | third_party/expat/files/lib/libexpat.def » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/expat/files/lib/internal.h
diff --git a/third_party/expat/files/lib/internal.h b/third_party/expat/files/lib/internal.h
index dd5454831da2b4e8f3a8406a2a7c72cc79c6539e..94cb98e15cae40a81419feae3480bce4fcf3b06d 100644
--- a/third_party/expat/files/lib/internal.h
+++ b/third_party/expat/files/lib/internal.h
@@ -71,3 +71,25 @@
#define inline
#endif
#endif
+
+#ifndef UNUSED_P
+# ifdef __GNUC__
+# define UNUSED_P(p) UNUSED_ ## p __attribute__((__unused__))
+# else
+# define UNUSED_P(p) UNUSED_ ## p
+# endif
+#endif
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+void
+align_limit_to_full_utf8_characters(const char * from, const char ** fromLimRef);
+
+
+#ifdef __cplusplus
+}
+#endif
« no previous file with comments | « third_party/expat/files/lib/expat_external.h.original ('k') | third_party/expat/files/lib/libexpat.def » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698