Fix symbols renaming for flock

This commit is contained in:
Love Hornquist Astrand
2009-08-14 05:17:51 +02:00
parent b7bee62e48
commit 21ff5b84a5
3 changed files with 4 additions and 3 deletions

View File

@@ -41,7 +41,7 @@
#define OP_MASK (LOCK_SH | LOCK_EX | LOCK_UN)
int ROKEN_LIB_FUNCTION
flock(int fd, int operation)
rk_flock(int fd, int operation)
{
#if defined(HAVE_FCNTL) && defined(F_SETLK)
struct flock arg;

View File

@@ -470,8 +470,8 @@ unsigned short ROKEN_LIB_FUNCTION bswap16(unsigned short);
#define LOCK_UN 8 /* Unlock */
#endif
#define flock rk_flock
int flock(int fd, int operation);
#define flock(_x,_y) rk_flock(_x,_y)
int rk_flock(int fd, int operation);
#endif /* HAVE_FLOCK */
time_t ROKEN_LIB_FUNCTION tm2time (struct tm, int);

View File

@@ -56,6 +56,7 @@ HEIMDAL_ROKEN_1.0 {
rk_esetenv;
rk_estrdup;
rk_ewrite;
rk_flock;
rk_fnmatch;
rk_free_environment;
rk_freeaddrinfo;