[SCM] Samba Shared Repository - branch master updated - 5380d43d3bc84f431d491c40ad37920973870e4e

Jelmer Vernooij jelmer at samba.org
Sun Oct 19 07:48:04 GMT 2008


The branch, master has been updated
       via  5380d43d3bc84f431d491c40ad37920973870e4e (commit)
      from  044bb5ce391e0b271d5dee87dd05bbedd6bcdadc (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 5380d43d3bc84f431d491c40ad37920973870e4e
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Sun Oct 19 09:47:45 2008 +0200

    Remove duplicate macro definitions (already defined in libutil/attr.h)

-----------------------------------------------------------------------

Summary of changes:
 source3/include/includes.h |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/include/includes.h b/source3/include/includes.h
index 2ba6c44..760280e 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


-- 
Samba Shared Repository


More information about the samba-cvs mailing list