libxbps: hide compat symbols.

This commit is contained in:
Juan RP
2012-06-18 09:52:19 +02:00
parent ad766cd538
commit 0f3d4f4a19
6 changed files with 20 additions and 19 deletions

View File

@@ -40,7 +40,7 @@
/*
* Find the first occurrence of find in s, ignore case.
*/
char *
char HIDDEN *
strcasestr(const char *s, const char *find)
{
char c, sc;

View File

@@ -28,7 +28,7 @@
* Returns strlen(src) + MIN(siz, strlen(initial dst)).
* If retval >= siz, truncation occurred.
*/
size_t
size_t HIDDEN
strlcat(char *dst, const char *src, size_t siz)
{
char *d = dst;

View File

@@ -26,7 +26,7 @@
* will be copied. Always NUL terminates (unless siz == 0).
* Returns strlen(src); if retval >= siz, truncation occurred.
*/
size_t
size_t HIDDEN
strlcpy(char *dst, const char *src, size_t siz)
{
char *d = dst;

View File

@@ -33,7 +33,7 @@
#include <stdlib.h>
#include <stdarg.h>
int
int HIDDEN
vasprintf(char **ret, const char *fmt, va_list ap)
{
char *buf, *new_buf;