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) #define OP_MASK (LOCK_SH | LOCK_EX | LOCK_UN)
int ROKEN_LIB_FUNCTION int ROKEN_LIB_FUNCTION
flock(int fd, int operation) rk_flock(int fd, int operation)
{ {
#if defined(HAVE_FCNTL) && defined(F_SETLK) #if defined(HAVE_FCNTL) && defined(F_SETLK)
struct flock arg; struct flock arg;

View File

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

View File

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