summaryrefslogtreecommitdiff
path: root/core/Messenger.h
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2013-08-05 15:57:17 +0200
committerFlorian Hahn <flo@fhahn.com>2013-08-05 15:57:17 +0200
commit5617bf0bf1827733a9118a0f3ca866cf5353b1e0 (patch)
tree0039de12cc0d6576930a45068af9fdfc63063128 /core/Messenger.h
parent5e43dc7bd8c790a43c22fd6ab47e9dbef9205186 (diff)
Use void for functions with no parameters
Diffstat (limited to 'core/Messenger.h')
-rw-r--r--core/Messenger.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Messenger.h b/core/Messenger.h
index acf62a32..20b38caa 100644
--- a/core/Messenger.h
+++ b/core/Messenger.h
@@ -160,15 +160,15 @@ void m_callback_userstatus(void (*function)(int, uint8_t *, uint16_t));
160/* run this at startup 160/* run this at startup
161 returns 0 if no connection problems 161 returns 0 if no connection problems
162 returns -1 if there are problems */ 162 returns -1 if there are problems */
163int initMessenger(); 163int initMessenger(void);
164 164
165/* the main loop that needs to be run at least 200 times per second */ 165/* the main loop that needs to be run at least 200 times per second */
166void doMessenger(); 166void doMessenger(void);
167 167
168/* SAVING AND LOADING FUNCTIONS: */ 168/* SAVING AND LOADING FUNCTIONS: */
169 169
170/* returns the size of the messenger data (for saving) */ 170/* returns the size of the messenger data (for saving) */
171uint32_t Messenger_size(); 171uint32_t Messenger_size(void);
172 172
173/* save the messenger in data (must be allocated memory of size Messenger_size()) */ 173/* save the messenger in data (must be allocated memory of size Messenger_size()) */
174void Messenger_save(uint8_t *data); 174void Messenger_save(uint8_t *data);