[Glibc-bsd-commits] r1935 - in trunk/libfreebsd: . debian
guillem at alioth.debian.org
guillem at alioth.debian.org
Thu May 17 17:28:28 UTC 2007
Author: guillem
Date: 2007-05-17 17:28:27 +0000 (Thu, 17 May 2007)
New Revision: 1935
Modified:
trunk/libfreebsd/ChangeLog
trunk/libfreebsd/Versions
trunk/libfreebsd/debian/changelog
trunk/libfreebsd/nlist.c
Log:
Do not expose internal symbols in the shared library.
Modified: trunk/libfreebsd/ChangeLog
===================================================================
--- trunk/libfreebsd/ChangeLog 2007-05-17 17:18:06 UTC (rev 1934)
+++ trunk/libfreebsd/ChangeLog 2007-05-17 17:28:27 UTC (rev 1935)
@@ -1,3 +1,10 @@
+2007-05-17 Guillem Jover <guillem at debian.org>
+
+ * nlist.c (__aout_fdnlist, __elf_fdnlist, __elf_is_okay__,
+ __fdnlist): Make static.
+ * Versions (__aout_fdnlist, __elf_fdnlist, __elf_is_okay__,
+ __fdnlist): Remove from the global symbols.
+
2005-07-20 Aurelien Jarno <aurel32 at debian.org>
* Initial version.
Modified: trunk/libfreebsd/Versions
===================================================================
--- trunk/libfreebsd/Versions 2007-05-17 17:18:06 UTC (rev 1934)
+++ trunk/libfreebsd/Versions 2007-05-17 17:28:27 UTC (rev 1935)
@@ -5,12 +5,7 @@
devname; devname_r;
getbootfile;
sysctlbyname; sysctlnametomib;
- __aout_fdnlist;
- __elf_fdnlist;
- __fdnlist;
nlist;
- __elf_is_okay__;
- __elf_fdnlist;
local:
*;
};
Modified: trunk/libfreebsd/debian/changelog
===================================================================
--- trunk/libfreebsd/debian/changelog 2007-05-17 17:18:06 UTC (rev 1934)
+++ trunk/libfreebsd/debian/changelog 2007-05-17 17:28:27 UTC (rev 1935)
@@ -1,3 +1,10 @@
+libfreebsd (0.0-6) UNRELEASED; urgency=low
+
+ [ Guillem Jover ]
+ * Do not expose internal symbols in the shared library.
+
+ -- Guillem Jover <guillem at debian.org> Thu, 17 May 2007 20:27:34 +0300
+
libfreebsd (0.0-5) unreleased; urgency=low
[ Robert Millan ]
Modified: trunk/libfreebsd/nlist.c
===================================================================
--- trunk/libfreebsd/nlist.c 2007-05-17 17:18:06 UTC (rev 1934)
+++ trunk/libfreebsd/nlist.c 2007-05-17 17:28:27 UTC (rev 1935)
@@ -57,9 +57,9 @@
#define SIZE_T_MAX 0xffffffffU
-int __fdnlist(int, struct nlist *);
-int __aout_fdnlist(int, struct nlist *);
-int __elf_fdnlist(int, struct nlist *);
+static int __fdnlist(int, struct nlist *);
+static int __aout_fdnlist(int, struct nlist *);
+static int __elf_fdnlist(int, struct nlist *);
int
nlist(name, list)
@@ -87,7 +87,7 @@
#endif
};
-int
+static int
__fdnlist(fd, list)
int fd;
struct nlist *list;
@@ -105,7 +105,7 @@
#define ISLAST(p) (p->n_un.n_name == 0 || p->n_un.n_name[0] == 0)
#ifdef _NLIST_DO_AOUT
-int
+static int
__aout_fdnlist(fd, list)
int fd;
struct nlist *list;
@@ -210,7 +210,7 @@
* WARNING: This is NOT an ELF ABI function and
* as such its use should be restricted.
*/
-int
+static int
__elf_is_okay__(ehdr)
Elf_Ehdr *ehdr;
{
@@ -234,7 +234,7 @@
return retval;
}
-int
+static int
__elf_fdnlist(fd, list)
int fd;
struct nlist *list;
More information about the Glibc-bsd-commits
mailing list