add arguments to rk_rename to move it into the macro/function namespace
authorLove Hornquist Astrand <lha@h5l.org>
Tue, 14 Sep 2010 17:18:08 +0000 (10:18 -0700)
committerLove Hornquist Astrand <lha@h5l.org>
Tue, 14 Sep 2010 17:18:08 +0000 (10:18 -0700)
lib/roken/roken.h.in

index 275ab17753bc26e744828b820575abb2294e88a6..43553b05499dad532056f946560297a5c20c5bf8 100644 (file)
@@ -619,7 +619,7 @@ ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL fchown(int, uid_t, gid_t);
 #ifdef RENAME_DOES_NOT_UNLINK
 ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL rk_rename(const char *, const char *);
 #else
-#define rk_rename rename
+#define rk_rename(__rk_rn_from,_rk_rn_to) rename(__rk_rn_from,__rk_rn_to)
 #endif
 
 #if !defined(HAVE_DAEMON) || defined(NEED_DAEMON_PROTO)