r18650: this isn't needed twice in include/includes.h
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Sep 2006 23:27:36 +0000 (23:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:52:19 +0000 (11:52 -0500)
metze
(This used to be commit ee1127518347690e8baea1b5010ccada0ba29890)

source3/include/includes.h

index 601d9b94d6904ad3a11aa0a0751ef2bee97b8457..2561072e86aab4d223161609c123b5394968273b 100644 (file)
 #undef HAVE_TERMIOS_H
 #endif
 
-#ifdef __GNUC__
-/** 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
-
 #ifndef _PUBLIC_
 #ifdef HAVE_VISIBILITY_ATTR
 #  define _PUBLIC_ __attribute__((visibility("default")))