diff options
| author | foobar <sniper@php.net> | 2005-02-12 18:14:03 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2005-02-12 18:14:03 +0000 |
| commit | 30deea4d30e4aeac58ed2a49c587e18d2836a572 (patch) | |
| tree | c1ec24c27815b7b2e3cc795464792b1738864ce4 /ext/sockets | |
| parent | 6159f690233d1e4a3179a1892c6a3db5ff43de0a (diff) | |
| download | php-git-30deea4d30e4aeac58ed2a49c587e18d2836a572.tar.gz | |
Remove unused set_h_errno
Diffstat (limited to 'ext/sockets')
| -rw-r--r-- | ext/sockets/php_sockets_win.h | 1 | ||||
| -rw-r--r-- | ext/sockets/sockets.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/ext/sockets/php_sockets_win.h b/ext/sockets/php_sockets_win.h index 4b16ebe7d6..be33ad14c7 100644 --- a/ext/sockets/php_sockets_win.h +++ b/ext/sockets/php_sockets_win.h @@ -41,7 +41,6 @@ #define errno WSAGetLastError() #define h_errno WSAGetLastError() #define set_errno(a) WSASetLastError(a) -#define set_h_errno(a) WSASetLastError(a) #define close(a) closesocket(a) struct sockaddr_un { diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index c9ac0b5dc8..c42b5ee5dc 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -50,7 +50,6 @@ # include <sys/uio.h> # define IS_INVALID_SOCKET(a) (a->bsd_socket < 0) # define set_errno(a) (errno = a) -# define set_h_errno(a) (h_errno = a) #else /* windows */ # include "php_sockets.h" # include "php_sockets_win.h" |
