mirror of
https://github.com/Tha14/toxic.git
synced 2025-09-11 19:56:52 +02:00
Use (void) in prototypes instead of ().
Also, removed `__inline` from an extern function (why was it there?). Also, moved one extern declaration to a header file. There are lots of these that need to be moved, but one thing at a time.
This commit is contained in:
@@ -51,10 +51,10 @@ typedef void (*VideoDataHandleCallback)(int16_t width, int16_t height, const uin
|
||||
#ifdef VIDEO
|
||||
VideoDeviceError init_video_devices(ToxAV *av);
|
||||
#else
|
||||
VideoDeviceError init_video_devices();
|
||||
VideoDeviceError init_video_devices(void);
|
||||
#endif /* VIDEO */
|
||||
|
||||
VideoDeviceError terminate_video_devices();
|
||||
VideoDeviceError terminate_video_devices(void);
|
||||
|
||||
/* Callback handles ready data from INPUT device */
|
||||
VideoDeviceError register_video_device_callback(int32_t call_idx, uint32_t device_idx, VideoDataHandleCallback callback,
|
||||
@@ -76,4 +76,4 @@ void print_video_devices(ToxWindow *self, VideoDeviceType type);
|
||||
void get_primary_video_device_name(VideoDeviceType type, char *buf, int size);
|
||||
|
||||
VideoDeviceError video_selection_valid(VideoDeviceType type, int32_t selection);
|
||||
#endif /* VIDEO_DEVICE_H */
|
||||
#endif /* VIDEO_DEVICE_H */
|
||||
|
Reference in New Issue
Block a user