Fix symbols renaming for flock
This commit is contained in:
@@ -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;
|
||||||
|
@@ -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);
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user