]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/blobdiff - src/hookmacros.h
Hook __overflow() correctly.
[coloredstderr/coloredstderr.git] / src / hookmacros.h
index 539d0d9d93fc241ca360df59cc9e4a9db6ee8033..b7df7860c66d4c41f9659bc8e56339ac469e8687 100644 (file)
         va_end(ap); \
     }
 
-#define HOOK_FD2(type, name, fd, type1, arg1, type2, arg2) \
-    HOOK_FUNC_DEF2(type, name, type1, arg1, type2, arg2) { \
-        _HOOK_PRE_FD(type, name, fd) \
-        result = real_ ## name(arg1, arg2); \
-        _HOOK_POST_FD(fd) \
-    }
 #define HOOK_FD3(type, name, fd, type1, arg1, type2, arg2, type3, arg3) \
     HOOK_FUNC_DEF3(type, name, type1, arg1, type2, arg2, type3, arg3) { \
         _HOOK_PRE_FD(type, name, fd) \