From: Willy Tarreau Date: Sun, 15 Oct 2006 20:56:02 +0000 (+0200) Subject: [CLEANUP] fd.h : regparm was hardcoded. X-Git-Tag: v1.3.3~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fddaec02ee30af741157c4a018136b00bb688377;p=thirdparty%2Fhaproxy.git [CLEANUP] fd.h : regparm was hardcoded. --- diff --git a/include/proto/fd.h b/include/proto/fd.h index 1d480af9c2..e41fcd1513 100644 --- a/include/proto/fd.h +++ b/include/proto/fd.h @@ -52,9 +52,9 @@ void fd_delete(int fd); # define MY_FD_CLR my_fd_clr # define MY_FD_ISSET my_fd_isset -void __attribute__((regparm(2))) my_fd_set(const int fd, fd_set *ev); -void __attribute__((regparm(2))) my_fd_clr(const int fd, fd_set *ev); -int __attribute__((regparm(2))) my_fd_isset(const int fd, const fd_set *ev); +REGPRM2 void my_fd_set(const int fd, fd_set *ev); +REGPRM2 void my_fd_clr(const int fd, fd_set *ev); +REGPRM2 int my_fd_isset(const int fd, const fd_set *ev); #endif