diff options
author | Amitay Isaacs <amitay@gmail.com> | 2014-05-16 00:04:35 +1000 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-06-20 23:38:09 +0200 |
commit | 91274d97a644ece172ad99937967cec3d7258b0e (patch) | |
tree | 1c1ab78aa1fd026cc2adae9450e8e56bccc98d5c /ctdb/lib/replace/socket.c | |
parent | 1e927a93224549fa9464fb0dc2fc69941483a76c (diff) | |
download | samba-91274d97a644ece172ad99937967cec3d7258b0e.tar.gz samba-91274d97a644ece172ad99937967cec3d7258b0e.tar.xz samba-91274d97a644ece172ad99937967cec3d7258b0e.zip |
ctdb-build: Remove duplicate replace library
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'ctdb/lib/replace/socket.c')
-rw-r--r-- | ctdb/lib/replace/socket.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/ctdb/lib/replace/socket.c b/ctdb/lib/replace/socket.c deleted file mode 100644 index 35e975fce7..0000000000 --- a/ctdb/lib/replace/socket.c +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Unix SMB/CIFS implementation. - * - * Dummy replacements for socket functions. - * - * Copyright (C) Michael Adam <obnox@samba.org> 2008 - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#include "replace.h" -#include "system/network.h" - -int rep_connect(int sockfd, const struct sockaddr *serv_addr, socklen_t addrlen) -{ - errno = ENOSYS; - return -1; -} - -struct hostent *rep_gethostbyname(const char *name) -{ - errno = ENOSYS; - return NULL; -} |