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
1 changed files with 6 additions and 1 deletions

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) */