diff options
author | Thomas Schwinge <thomas@schwinge.name> | 2011-11-24 08:21:16 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2011-11-24 08:21:16 +0100 |
commit | ac67fbb6e2a503e27a579bdd92bfcd180f377ac4 (patch) | |
tree | 4f2db284b587ac7c61f76f8b9a88cf17af53dfed /libpager/notify-stubs.c | |
parent | f1d119a500a9294c81330ecd52a3221578a22bc3 (diff) | |
download | hurd-ac67fbb6e2a503e27a579bdd92bfcd180f377ac4.tar.gz hurd-ac67fbb6e2a503e27a579bdd92bfcd180f377ac4.tar.bz2 hurd-ac67fbb6e2a503e27a579bdd92bfcd180f377ac4.zip |
Further port sequence number cleanup.
* libpager/priv.h (struct pager): Make seqno member of type mach_port_seqno_t.
Change all users.
* libpager/seqnos.c (_pager_stubs_update_seqno): Rename to _pager_update_seqno.
Change all users.
* libpager/demuxer.c (pager_demuxer): Make use of _pager_update_seqno.
* libpager/notify-stubs.c: Remove unused attribute where no longer appropriate.
Diffstat (limited to 'libpager/notify-stubs.c')
-rw-r--r-- | libpager/notify-stubs.c | 40 |
1 files changed, 15 insertions, 25 deletions
diff --git a/libpager/notify-stubs.c b/libpager/notify-stubs.c index aec56e35..2d791aac 100644 --- a/libpager/notify-stubs.c +++ b/libpager/notify-stubs.c @@ -23,64 +23,54 @@ #include <errno.h> error_t -_pager_do_seqnos_mach_notify_port_deleted (mach_port_t notify - __attribute__ ((unused)), - mach_port_seqno_t seqno - __attribute__ ((unused)), +_pager_do_seqnos_mach_notify_port_deleted (mach_port_t notify, + mach_port_seqno_t seqno, mach_port_t name __attribute__ ((unused))) { - _pager_stubs_update_seqno (notify, seqno); + _pager_update_seqno (notify, seqno); return 0; } error_t -_pager_do_seqnos_mach_notify_msg_accepted (mach_port_t notify - __attribute__ ((unused)), - mach_port_seqno_t seqno - __attribute__ ((unused)), +_pager_do_seqnos_mach_notify_msg_accepted (mach_port_t notify, + mach_port_seqno_t seqno, mach_port_t name __attribute__ ((unused))) { - _pager_stubs_update_seqno (notify, seqno); + _pager_update_seqno (notify, seqno); return 0; } error_t -_pager_do_seqnos_mach_notify_port_destroyed (mach_port_t notify - __attribute__ ((unused)), - mach_port_seqno_t seqno - __attribute__ ((unused)), +_pager_do_seqnos_mach_notify_port_destroyed (mach_port_t notify, + mach_port_seqno_t seqno, mach_port_t name __attribute__ ((unused))) { - _pager_stubs_update_seqno (notify, seqno); + _pager_update_seqno (notify, seqno); return 0; } error_t -_pager_do_seqnos_mach_notify_send_once (mach_port_t notify - __attribute__ ((unused)), - mach_port_seqno_t seqno - __attribute__ ((unused))) +_pager_do_seqnos_mach_notify_send_once (mach_port_t notify, + mach_port_seqno_t seqno) { - _pager_stubs_update_seqno (notify, seqno); + _pager_update_seqno (notify, seqno); return 0; } error_t -_pager_do_seqnos_mach_notify_dead_name (mach_port_t notify - __attribute__ ((unused)), - mach_port_seqno_t seqno - __attribute__ ((unused)), +_pager_do_seqnos_mach_notify_dead_name (mach_port_t notify, + mach_port_seqno_t seqno, mach_port_t name __attribute__ ((unused))) { - _pager_stubs_update_seqno (notify, seqno); + _pager_update_seqno (notify, seqno); return 0; } |