@@ -39,7 +39,7 @@ extern "C" {
39
39
*
40
40
* @return 0 on success, -1 on failure
41
41
*/
42
- int rc_dsm_init ();
42
+ int rc_dsm_init (void );
43
43
44
44
45
45
/**
@@ -48,7 +48,7 @@ int rc_dsm_init();
48
48
* @return 0 on success, -1 on failure. 1 if there was a timeout due to user
49
49
* callback function not returning.
50
50
*/
51
- int rc_dsm_cleanup ();
51
+ int rc_dsm_cleanup (void );
52
52
53
53
54
54
/**
@@ -94,7 +94,7 @@ double rc_dsm_ch_normalized(int ch);
94
94
* @return returns 1 if new data is ready to be read by the user. otherwise
95
95
* returns 0
96
96
*/
97
- int rc_dsm_is_new_data ();
97
+ int rc_dsm_is_new_data (void );
98
98
99
99
100
100
/**
@@ -122,7 +122,7 @@ void rc_dsm_set_disconnect_callback(void (*func)(void));
122
122
* @return returns 1 if packets are arriving in good health without
123
123
* timeouts. returns 0 otherwise.
124
124
*/
125
- int rc_dsm_is_connection_active ();
125
+ int rc_dsm_is_connection_active (void );
126
126
127
127
128
128
/**
@@ -131,7 +131,7 @@ int rc_dsm_is_connection_active();
131
131
* @return Returns the number of nanoseconds since the last dsm packet was
132
132
* received. Return -1 on error or if no packet has ever been received.
133
133
*/
134
- int64_t rc_dsm_nanos_since_last_packet ();
134
+ int64_t rc_dsm_nanos_since_last_packet (void );
135
135
136
136
137
137
/**
@@ -141,7 +141,7 @@ int64_t rc_dsm_nanos_since_last_packet();
141
141
* @return returns 10 or 11 indicating 10-bit or 11-bit resolution returns a
142
142
* 0 if no packet has been received yet or -1 on error
143
143
*/
144
- int rc_dsm_resolution ();
144
+ int rc_dsm_resolution (void );
145
145
146
146
147
147
/**
@@ -150,7 +150,7 @@ int rc_dsm_resolution();
150
150
* @return Returns number of channels being received, 0 if no packet has
151
151
* been received yet or -1 on error.
152
152
*/
153
- int rc_dsm_channels ();
153
+ int rc_dsm_channels (void );
154
154
155
155
156
156
/**
@@ -189,7 +189,7 @@ int rc_dsm_channels();
189
189
*
190
190
* @return 0 on success, -1 on failure
191
191
*/
192
- int rc_dsm_bind_routine ();
192
+ int rc_dsm_bind_routine (void );
193
193
194
194
195
195
/**
@@ -202,7 +202,7 @@ int rc_dsm_bind_routine();
202
202
*
203
203
* @return 0 on success, -1 on failure
204
204
*/
205
- int rc_dsm_calibrate_routine ();
205
+ int rc_dsm_calibrate_routine (void );
206
206
207
207
208
208
#ifdef __cplusplus
0 commit comments