Convert cases of () to (void)

* server/reds.c, server/smartcard.c: s/()/(void)

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrange 2012-03-13 16:09:38 +00:00
parent 93d8ca8191
commit 3be7df0980
2 changed files with 5 additions and 5 deletions

View File

@ -1595,7 +1595,7 @@ static void reds_mig_target_client_free(RedsMigTargetClient *mig_client)
free(mig_client);
}
static void reds_mig_target_client_disconnect_all()
static void reds_mig_target_client_disconnect_all(void)
{
RingItem *now, *next;

View File

@ -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;