[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 83/87: Use a mere weak attribute instead of a weak alias
From: |
Samuel Thibault |
Subject: |
[hurd] 83/87: Use a mere weak attribute instead of a weak alias |
Date: |
Sun, 09 Nov 2014 11:05:06 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit bd611d2bbd2a7faa24ce8d3b1a422cebb8f71e8b
Author: Samuel Thibault <address@hidden>
Date: Mon Nov 3 00:02:52 2014 +0100
Use a mere weak attribute instead of a weak alias
We don't need to call the original function, so a weak attribute is
enough.
* libports/dead-name.c (ports_dead_name): Remove weak alias.
(__ports_dead_name): Rename back to ports_dead_name, but add weak attribute.
---
libports/dead-name.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/libports/dead-name.c b/libports/dead-name.c
index 8c8029f..9363771 100644
--- a/libports/dead-name.c
+++ b/libports/dead-name.c
@@ -21,9 +21,8 @@
#include "ports.h"
#include <mach/notify.h>
-void
-__ports_dead_name (void *notify, mach_port_t dead_name)
+void __attribute__ ((weak))
+ports_dead_name (void *notify, mach_port_t dead_name)
{
ports_interrupt_notified_rpcs (notify, dead_name, MACH_NOTIFY_DEAD_NAME);
}
-weak_alias (__ports_dead_name, ports_dead_name);
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 18/87: hurd: fix type of optimal_transfer_size, (continued)
- [hurd] 18/87: hurd: fix type of optimal_transfer_size, Samuel Thibault, 2014/11/09
- [hurd] 50/87: sutils: add urandom device target to MAKEDEV, Samuel Thibault, 2014/11/09
- [hurd] 45/87: Revert "libpipe: fix calls to pipe_send with no data", Samuel Thibault, 2014/11/09
- [hurd] 57/87: include: detect use-after-free errors using the reference counts, Samuel Thibault, 2014/11/09
- [hurd] 73/87: libdiskfs: remove code counting cache misses, Samuel Thibault, 2014/11/09
- [hurd] 82/87: Fix dead name notification in static binaries, Samuel Thibault, 2014/11/09
- [hurd] 68/87: procfs: implement /proc/filesystems, Samuel Thibault, 2014/11/09
- [hurd] 71/87: procfs: reorganize rootdir.c, Samuel Thibault, 2014/11/09
- [hurd] 78/87: Fix proc_getprocinfo calls, Samuel Thibault, 2014/11/09
- [hurd] 80/87: Fix actual procinfo_t type, Samuel Thibault, 2014/11/09
- [hurd] 83/87: Use a mere weak attribute instead of a weak alias,
Samuel Thibault <=
- [hurd] 17/87: include: use unsigned literal in combination with binary not, Samuel Thibault, 2014/11/09
- [hurd] 79/87: Fix proc_getprocinfo calls, Samuel Thibault, 2014/11/09
- [hurd] 20/87: libdiskfs: avoid implicit integer conversion, Samuel Thibault, 2014/11/09
- [hurd] 67/87: procfs: implement /proc/N/maps, Samuel Thibault, 2014/11/09
- [hurd] 69/87: procfs: do not test whether /hurd/mtab exists, Samuel Thibault, 2014/11/09
- [hurd] 16/87: libnetfs: fix memory leak, Samuel Thibault, 2014/11/09
- [hurd] 13/87: Fix buffer allocation on io_read, Samuel Thibault, 2014/11/09
- [hurd] 77/87: pfinet: fix path in comment, Samuel Thibault, 2014/11/09
- [hurd] 76/87: libports: lock-less reference counting for port_info objects, Samuel Thibault, 2014/11/09
- [hurd] 81/87: Fix unlocking translator list, Samuel Thibault, 2014/11/09