1
0
mirror of https://github.com/ericonr/sndio.git synced 2024-02-18 04:45:21 -06:00

add comment to warn about function name collisions

This commit is contained in:
Alexandre Ratchov 2014-11-18 10:16:27 +01:00
parent 02e1cec786
commit 31b3f1eb9d

View File

@ -1,9 +1,14 @@
#ifndef BSD_COMPAT_H
#define BSD_COMPAT_H
/*
* XXX: these end up exported by libsndio, hide them to avoid possible
* collisions with program functions with the same name.
*/
int issetugid(void);
size_t strlcpy(char *, const char *, size_t);
size_t strlcat(char *, const char *, size_t);
size_t strlcpy(char *, const char *, size_t);
long long strtonum(const char *, long long, long long, const char **);
#endif /* !defined(BSD_COMPAT_H) */