From d7400bed08d200b1959d815092bcf6438b769946 Mon Sep 17 00:00:00 2001 From: Laurent MONIN Date: Mon, 5 Mar 2007 22:04:34 +0100 Subject: [PATCH] asprintf() is not used in this file. --- src/protocol/smb/smb2.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/protocol/smb/smb2.c b/src/protocol/smb/smb2.c index 2f5a9c900..2b261d480 100644 --- a/src/protocol/smb/smb2.c +++ b/src/protocol/smb/smb2.c @@ -1,9 +1,5 @@ /* SMB protocol implementation */ -#ifndef _GNU_SOURCE -#define _GNU_SOURCE /* Needed for asprintf() */ -#endif - #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -39,7 +35,6 @@ #include "protocol/uri.h" #include "util/conv.h" #include "util/memory.h" -#include "util/snprintf.h" #include "util/string.h" /* These options are not used. */