diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-07-08 09:45:05 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-08 14:09:08 +0200 |
commit | f0e6e5c37d5921450d030acb98c794f0cf7224a6 (patch) | |
tree | b83056a2a118fd6dc815f61bee23d31bae0646b5 /source3/lib | |
parent | 2b8e1480840db7ef8128352b1808a5ee91a03ca1 (diff) | |
download | samba-f0e6e5c37d5921450d030acb98c794f0cf7224a6.tar.gz samba-f0e6e5c37d5921450d030acb98c794f0cf7224a6.tar.bz2 samba-f0e6e5c37d5921450d030acb98c794f0cf7224a6.zip |
s3:libsmb: remove unused enum smb_read_errors infrastructure
metze
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util_sock.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c index 867646bc50..da84d76aa6 100644 --- a/source3/lib/util_sock.c +++ b/source3/lib/util_sock.c @@ -48,26 +48,6 @@ int client_socket_port(int fd) #endif /**************************************************************************** - Accessor functions to make thread-safe code easier later... -****************************************************************************/ - -void set_smb_read_error(enum smb_read_errors *pre, - enum smb_read_errors newerr) -{ - if (pre) { - *pre = newerr; - } -} - -void cond_set_smb_read_error(enum smb_read_errors *pre, - enum smb_read_errors newerr) -{ - if (pre && *pre == SMB_READ_OK) { - *pre = newerr; - } -} - -/**************************************************************************** Determine if a file descriptor is in fact a socket. ****************************************************************************/ |