diff options
author | Alon Levy <alevy@redhat.com> | 2010-10-18 13:14:36 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2010-10-18 13:14:36 +0200 |
commit | a1d8b2eeef927da29c12654d95658fd33b62517e (patch) | |
tree | 1a6e3bf1beab752396298378e7c6072d2728cf4c | |
parent | 364a129a437048f2faa21e0766cdec3ab46153b4 (diff) |
fix debugger warnings for parameter less signatures, remove double declaration
-rw-r--r-- | vevent.h | 6 | ||||
-rw-r--r-- | vreader.h | 5 |
2 files changed, 5 insertions, 6 deletions
@@ -14,13 +14,13 @@ void vevent_delete(VEvent *); * VEvent queueing services */ void vevent_queue_vevent(VEvent *); -void vevent_queue_init(); +void vevent_queue_init(void); /* * VEvent dequeing services */ -VEvent *vevent_wait_next_vevent(); -VEvent *vevent_get_next_vevent(); +VEvent *vevent_wait_next_vevent(void); +VEvent *vevent_get_next_vevent(void); #endif @@ -17,7 +17,6 @@ VReaderStatus vreader_power_off(VReader *reader); VReaderStatus vreader_xfr_bytes(VReader *reader, unsigned char *send_buf, int send_buf_len, unsigned char *receive_buf, int *receive_buf_len); -VReaderList *vreader_get_reader_list(); /* constructor */ VReader *vreader_new(const char *readerName, VReaderEmul *emul_private, @@ -35,7 +34,7 @@ VReaderID vreader_get_id(VReader *reader); VReaderStatus vreader_set_id(VReader *reader, VReaderID id); /* list operations */ -VReaderList *vreader_get_reader_list(); +VReaderList *vreader_get_reader_list(void); void vreader_list_delete(VReaderList *list); VReader *vreader_list_get_reader(VReaderListEntry *entry); VReaderListEntry *vreader_list_get_first(VReaderList *list); @@ -46,7 +45,7 @@ VReader *vreader_get_reader_by_name(const char *name); /* * list tools for vcard_emul */ -void vreader_init(); +void vreader_init(void); VReaderStatus vreader_add_reader(VReader *reader); VReaderStatus vreader_remove_reader(VReader *reader); VReaderStatus vreader_insert_card(VReader *reader, VCard *card); |