diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-19 09:47:45 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-19 09:47:45 +0200 |
commit | 5380d43d3bc84f431d491c40ad37920973870e4e (patch) | |
tree | 9db3562037a0e8eed6c75cf19faa686d4f643531 /source3 | |
parent | 044bb5ce391e0b271d5dee87dd05bbedd6bcdadc (diff) | |
download | samba-5380d43d3bc84f431d491c40ad37920973870e4e.tar.gz samba-5380d43d3bc84f431d491c40ad37920973870e4e.tar.bz2 samba-5380d43d3bc84f431d491c40ad37920973870e4e.zip |
Remove duplicate macro definitions (already defined in libutil/attr.h)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/includes.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 2ba6c4478e..760280eb0e 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 /* * <unistd.h> has to be included before any other to get |