Remove duplicate macro definitions (already defined in libutil/attr.h)
authorJelmer Vernooij <jelmer@samba.org>
Sun, 19 Oct 2008 07:47:45 +0000 (09:47 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 19 Oct 2008 07:47:45 +0000 (09:47 +0200)
source3/include/includes.h

index 2ba6c44..760280e 100644 (file)
 #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