Mercurial > pidgin
comparison src/mediastreamer/msqueue.h @ 12323:fc464a0abccc
[gaim-migrate @ 14627]
Function prototypes need to be of the form foo(void); instead of foo(); for function that don't take any arguments. This allows the compiler to detect mistakes were someone passes arguments to such a function.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 04 Dec 2005 18:19:56 +0000 |
parents | e67993da8a22 |
children |
comparison
equal
deleted
inserted
replaced
12322:c7ae1fd0827d | 12323:fc464a0abccc |
---|---|
33 void *prev_data; /*user data, usually the writting filter*/ | 33 void *prev_data; /*user data, usually the writting filter*/ |
34 void *next_data; /* user data, usually the reading filter*/ | 34 void *next_data; /* user data, usually the reading filter*/ |
35 }MSQueue; | 35 }MSQueue; |
36 | 36 |
37 | 37 |
38 MSQueue * ms_queue_new(); | 38 MSQueue * ms_queue_new(void); |
39 | 39 |
40 MSMessage *ms_queue_get(MSQueue *q); | 40 MSMessage *ms_queue_get(MSQueue *q); |
41 | 41 |
42 void ms_queue_put(MSQueue *q, MSMessage *m); | 42 void ms_queue_put(MSQueue *q, MSMessage *m); |
43 | 43 |