Fix symbols renaming for flock
This commit is contained in:
@@ -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;
|
||||
|
@@ -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);
|
||||
|
@@ -56,6 +56,7 @@ HEIMDAL_ROKEN_1.0 {
|
||||
rk_esetenv;
|
||||
rk_estrdup;
|
||||
rk_ewrite;
|
||||
rk_flock;
|
||||
rk_fnmatch;
|
||||
rk_free_environment;
|
||||
rk_freeaddrinfo;
|
||||
|
Reference in New Issue
Block a user