mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 16:33:34 +00:00
Export symbols for functions included in our compatibility headers.
(closes issue #15556) Reported by: smw1218 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@208083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
#define _COMPAT_H
|
#define _COMPAT_H
|
||||||
|
|
||||||
#include "asterisk/autoconfig.h"
|
#include "asterisk/autoconfig.h"
|
||||||
|
#include "asterisk/compiler.h"
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
@@ -62,11 +63,11 @@ int vasprintf(char **strp, const char *fmt, va_list ap);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_STRLCAT
|
#ifndef HAVE_STRLCAT
|
||||||
size_t strlcat(char *dst, const char *src, size_t siz);
|
size_t strlcat(char *dst, const char *src, size_t siz) attribute_deprecated;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_STRLCPY
|
#ifndef HAVE_STRLCPY
|
||||||
size_t strlcpy(char *dst, const char *src, size_t siz);
|
size_t strlcpy(char *dst, const char *src, size_t siz) attribute_deprecated;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef SOLARIS
|
#ifdef SOLARIS
|
||||||
|
@@ -28,6 +28,18 @@
|
|||||||
devstate2str;
|
devstate2str;
|
||||||
manager_event;
|
manager_event;
|
||||||
dialed_interface_info;
|
dialed_interface_info;
|
||||||
|
strsep;
|
||||||
|
setenv;
|
||||||
|
unsetenv;
|
||||||
|
strcasestr;
|
||||||
|
strnlen;
|
||||||
|
strndup;
|
||||||
|
vasprintf;
|
||||||
|
asprintf;
|
||||||
|
strtoq;
|
||||||
|
getloadavg;
|
||||||
|
strlcat;
|
||||||
|
strlcpy;
|
||||||
local:
|
local:
|
||||||
*;
|
*;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user