diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2013-07-02 00:45:40 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2013-07-02 00:45:40 -0700 |
commit | 29420b31341ab0c2ce7255b4b6f4b34f3bdf3158 (patch) | |
tree | 5c06cdab6adface3699bb1dfca856e1e0c0b9992 /sesman/chansrv/smartcard.c | |
parent | bddf48602d0dd01408e578144863cceb52f78b31 (diff) | |
download | xrdp-proprietary-29420b31341ab0c2ce7255b4b6f4b34f3bdf3158.tar.gz xrdp-proprietary-29420b31341ab0c2ce7255b4b6f4b34f3bdf3158.zip |
chansrv: no logic change, work on warning
Diffstat (limited to 'sesman/chansrv/smartcard.c')
-rw-r--r-- | sesman/chansrv/smartcard.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sesman/chansrv/smartcard.c b/sesman/chansrv/smartcard.c index 3fdb6723..19650be1 100644 --- a/sesman/chansrv/smartcard.c +++ b/sesman/chansrv/smartcard.c @@ -140,8 +140,8 @@ static void scard_send_EstablishContext(IRP *irp); static void scard_send_ListReaders(IRP *irp, int wide); static struct stream *scard_make_new_ioctl(IRP *irp, tui32 ioctl); static int scard_add_new_device(tui32 device_id); -static int scard_get_free_slot(); -static void scard_release_resources(); +static int scard_get_free_slot(void); +static void scard_release_resources(void); /****************************************************************************** ** non static functions ** @@ -488,7 +488,7 @@ static int scard_add_new_device(tui32 device_id) * @return index of first unused entry in smartcards or -1 if smartcards is full *****************************************************************************/ -static int scard_get_free_slot() +static int scard_get_free_slot(void) { int i; @@ -509,7 +509,7 @@ static int scard_get_free_slot() * Release resources prior to shutting down *****************************************************************************/ -static void scard_release_resources() +static void scard_release_resources(void) { int i; |