summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-19 09:47:45 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-19 09:47:45 +0200
commit5380d43d3bc84f431d491c40ad37920973870e4e (patch)
tree9db3562037a0e8eed6c75cf19faa686d4f643531 /source3
parent044bb5ce391e0b271d5dee87dd05bbedd6bcdadc (diff)
downloadsamba-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.h17
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