[PATCH] lib: Trim blocking.c

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jul 1 03:46:06 MDT 2015


Hi!

Review&push appreciated!

Thanks,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From b9e7a8f314c4e045b3219225befb32c0c690e2b4 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Wed, 1 Jul 2015 11:44:09 +0200
Subject: [PATCH] lib: Trim blocking.c

Signed-off-by: Volker Lendecke <vl at samba.org>
---
 lib/util/blocking.c |    7 -------
 1 file changed, 7 deletions(-)

diff --git a/lib/util/blocking.c b/lib/util/blocking.c
index 358eda0..0d845c0 100644
--- a/lib/util/blocking.c
+++ b/lib/util/blocking.c
@@ -22,15 +22,8 @@
 */
 
 #include "replace.h"
-#include "system/network.h"
 #include "system/filesys.h"
-#include "system/locale.h"
 #include "blocking.h"
-#undef malloc
-#undef strcasecmp
-#undef strncasecmp
-#undef strdup
-#undef realloc
 
 /**
  Set a fd into blocking/nonblocking mode. Uses POSIX O_NONBLOCK if available,
-- 
1.7.9.5



More information about the samba-technical mailing list