summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-10-18 13:14:36 +0200
committerAlon Levy <alevy@redhat.com>2010-10-18 13:14:36 +0200
commita1d8b2eeef927da29c12654d95658fd33b62517e (patch)
tree1a6e3bf1beab752396298378e7c6072d2728cf4c
parent364a129a437048f2faa21e0766cdec3ab46153b4 (diff)
fix debugger warnings for parameter less signatures, remove double declaration
-rw-r--r--vevent.h6
-rw-r--r--vreader.h5
2 files changed, 5 insertions, 6 deletions
diff --git a/vevent.h b/vevent.h
index d622e8d..f202ea8 100644
--- a/vevent.h
+++ b/vevent.h
@@ -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
diff --git a/vreader.h b/vreader.h
index e8f9092..97bf38d 100644
--- a/vreader.h
+++ b/vreader.h
@@ -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);