summaryrefslogtreecommitdiffstats
path: root/server/smartcard.c
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2012-03-13 16:09:38 +0000
committerDaniel P. Berrange <berrange@redhat.com>2012-04-25 09:42:15 +0100
commit3be7df09800f8a823ec307830fd8d3f26f28ffc6 (patch)
tree145170643ccf1d4a4b234fa5b4e3fef13de2f767 /server/smartcard.c
parent93d8ca81916397a1398f136661123625b3df2727 (diff)
downloadspice-3be7df09800f8a823ec307830fd8d3f26f28ffc6.tar.gz
spice-3be7df09800f8a823ec307830fd8d3f26f28ffc6.tar.xz
spice-3be7df09800f8a823ec307830fd8d3f26f28ffc6.zip
Convert cases of () to (void)
* server/reds.c, server/smartcard.c: s/()/(void) Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'server/smartcard.c')
-rw-r--r--server/smartcard.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/smartcard.c b/server/smartcard.c
index 894053e8..805cb6e1 100644
--- a/server/smartcard.c
+++ b/server/smartcard.c
@@ -65,7 +65,7 @@ static struct Readers {
SpiceCharDeviceInstance* sin[SMARTCARD_MAX_READERS];
} g_smartcard_readers = {0, {NULL}};
-static SpiceCharDeviceInstance* smartcard_readers_get_unattached();
+static SpiceCharDeviceInstance* smartcard_readers_get_unattached(void);
static SpiceCharDeviceInstance* smartcard_readers_get(uint32_t reader_id);
static int smartcard_char_device_add_to_readers(SpiceCharDeviceInstance *sin);
static void smartcard_char_device_attach(
@@ -77,7 +77,7 @@ static void smartcard_char_device_on_message_from_device(
SmartCardDeviceState *state, VSCMsgHeader *header);
static void smartcard_on_message_from_device(
RedChannelClient *rcc, VSCMsgHeader *vheader);
-static SmartCardDeviceState* smartcard_device_state_new();
+static SmartCardDeviceState* smartcard_device_state_new(void);
static void smartcard_device_state_free(SmartCardDeviceState* st);
static void smartcard_init(void);
@@ -180,7 +180,7 @@ static SpiceCharDeviceInstance *smartcard_readers_get(uint32_t reader_id)
return g_smartcard_readers.sin[reader_id];
}
-static SpiceCharDeviceInstance *smartcard_readers_get_unattached()
+static SpiceCharDeviceInstance *smartcard_readers_get_unattached(void)
{
int i;
SmartCardDeviceState* state;
@@ -195,7 +195,7 @@ static SpiceCharDeviceInstance *smartcard_readers_get_unattached()
return NULL;
}
-static SmartCardDeviceState* smartcard_device_state_new()
+static SmartCardDeviceState* smartcard_device_state_new(void)
{
SmartCardDeviceState *st;