summaryrefslogtreecommitdiff
path: root/lib/compat.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2014-02-05 11:10:02 +0100
committerLinus Nordberg <linus@nordberg.se>2014-02-05 11:10:02 +0100
commit3d954bfd2f658ac05a0f20a1241738ed3e3fdd28 (patch)
treed95b364fbab298c9b94c9c729afc98904c7c5bb0 /lib/compat.c
parent67bdfa83f1879312fef0fbac769f6fb45df12d1a (diff)
Move lib to the root.
Diffstat (limited to 'lib/compat.c')
-rw-r--r--lib/compat.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/compat.c b/lib/compat.c
deleted file mode 100644
index 7c4e346..0000000
--- a/lib/compat.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2011 NORDUnet A/S. All rights reserved.
- See LICENSE for licensing information. */
-
-#if defined HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include <sys/types.h>
-#include <sys/socket.h>
-#include "compat.h"
-
-ssize_t
-compat_send (int sockfd, const void *buf, size_t len, int flags)
-{
- return send (sockfd, buf, len, flags);
-}
-
-ssize_t
-compat_recv (int sockfd, void *buf, size_t len, int flags)
-{
- return recv (sockfd, buf, len, flags);
-}