From: Jelmer Vernooij Date: Sun, 19 Oct 2008 07:47:45 +0000 (+0200) Subject: Remove duplicate macro definitions (already defined in libutil/attr.h) X-Git-Tag: samba-4.0.0alpha6~769^2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5380d43d3bc84f431d491c40ad37920973870e4e;p=thirdparty%2Fsamba.git Remove duplicate macro definitions (already defined in libutil/attr.h) --- diff --git a/source3/include/includes.h b/source3/include/includes.h index 2ba6c4478ef..760280eb0e6 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -71,23 +71,6 @@ #undef HAVE_TERMIOS_H #endif -#ifndef _PUBLIC_ -#ifdef HAVE_VISIBILITY_ATTR -# define _PUBLIC_ __attribute__((visibility("default"))) -#else -# define _PUBLIC_ -#endif -#endif - -#if defined(__GNUC__) && !defined(__cplusplus) -/** gcc attribute used on function parameters so that it does not emit - * warnings about them being unused. **/ -# define UNUSED(param) param __attribute__ ((unused)) -#else -# define UNUSED(param) param -/** Feel free to add definitions for other compilers here. */ -#endif - #ifdef RELIANTUNIX /* * has to be included before any other to get