aboutsummaryrefslogtreecommitdiff
path: root/strlcpy-internal.h
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2017-08-10 21:27:41 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-08-10 21:27:41 +0000
commitc826852a83eb3174a3b7e8913af4ec29046c3391 (patch)
tree64bb0c050c4db9ad9d721e05e3e199bfd02e60b0 /strlcpy-internal.h
parent1c5a8716243f5dbf108ea4d52e3a98e9710d0a96 (diff)
parent9dfd4017adef7eaf179f743bf746254917a4fb74 (diff)
downloadlibevent-c826852a83eb3174a3b7e8913af4ec29046c3391.tar.gz
Revert "Upgrade to 2.1.8-stable (2017-01-22)." and "Probably Mac build fix?" am: 83a0c9c65a
am: 9dfd4017ad Change-Id: If85b3b43a876a5a47af3511249f6020d74fb8c35
Diffstat (limited to 'strlcpy-internal.h')
-rw-r--r--strlcpy-internal.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/strlcpy-internal.h b/strlcpy-internal.h
index cfc27ec..1968c00 100644
--- a/strlcpy-internal.h
+++ b/strlcpy-internal.h
@@ -1,17 +1,16 @@
-#ifndef STRLCPY_INTERNAL_H_INCLUDED_
-#define STRLCPY_INTERNAL_H_INCLUDED_
+#ifndef _STRLCPY_INTERNAL_H_
+#define _STRLCPY_INTERNAL_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "event2/event-config.h"
-#include "evconfig-private.h"
-#ifndef EVENT__HAVE_STRLCPY
+#ifndef _EVENT_HAVE_STRLCPY
#include <string.h>
-size_t event_strlcpy_(char *dst, const char *src, size_t siz);
-#define strlcpy event_strlcpy_
+size_t _event_strlcpy(char *dst, const char *src, size_t siz);
+#define strlcpy _event_strlcpy
#endif
#ifdef __cplusplus