diff -ur readline-6.0.old/xmalloc.h readline-6.0/xmalloc.h --- readline-6.0.old/xmalloc.h 2009-01-04 20:32:34.000000000 +0100 +++ readline-6.0/xmalloc.h 2009-06-04 15:54:31.000000000 +0200 @@ -38,8 +38,8 @@ #endif /* !PTR_T */ -extern PTR_T xmalloc PARAMS((size_t)); -extern PTR_T xrealloc PARAMS((void *, size_t)); -extern void xfree PARAMS((void *)); +extern PTR_T xmalloc PARAMS((size_t)) __attribute__ ((visibility ("hidden"))); +extern PTR_T xrealloc PARAMS((void *, size_t)) __attribute__ ((visibility ("hidden"))); +extern void xfree PARAMS((void *)) __attribute__ ((visibility ("hidden"))); #endif /* _XMALLOC_H_ */