[pacman-dev] [PATCH] removed duplicate macros SYMEXPORT and SYMHIDDEN from alpm_list.c, using them from util.h

Paul Barbu Gheorghe barbu.paul.gheorghe at gmail.com
Thu Jul 26 16:23:16 EDT 2012


Signed-off-by: Barbu Paul - Gheorghe <barbu.paul.gheorghe at gmail.com>
---
  lib/libalpm/alpm_list.c | 6 ++----
  1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/lib/libalpm/alpm_list.c b/lib/libalpm/alpm_list.c
index 39eded1..b9e7cba 100644
--- a/lib/libalpm/alpm_list.c
+++ b/lib/libalpm/alpm_list.c
@@ -21,13 +21,11 @@
  #include <stdlib.h>
  #include <string.h>
  +#include "util.h"
+
  /* libalpm */
  #include "alpm_list.h"
  -/* check exported library symbols with: nm -C -D <lib> */
-#define SYMEXPORT __attribute__((visibility("default")))
-#define SYMHIDDEN __attribute__((visibility("internal")))
-
  /**
   * @addtogroup alpm_list List Functions
   * @brief Functions to manipulate alpm_list_t lists.
-- 
Barbu Paul - Gheorghe
Common sense is not so common - Voltaire
Visit My GitHub profile to see my open-source projects - https://github.com/paullik



More information about the pacman-dev mailing list