Mercurial > pidgin.yaz
comparison src/mime.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 | 8dca96cbcd64 |
children | 443aaa05a7c3 |
comparison
equal
deleted
inserted
replaced
12322:c7ae1fd0827d | 12323:fc464a0abccc |
---|---|
50 */ | 50 */ |
51 typedef struct _GaimMimePart GaimMimePart; | 51 typedef struct _GaimMimePart GaimMimePart; |
52 | 52 |
53 | 53 |
54 /** Allocate an empty MIME document */ | 54 /** Allocate an empty MIME document */ |
55 GaimMimeDocument *gaim_mime_document_new(); | 55 GaimMimeDocument *gaim_mime_document_new(void); |
56 | 56 |
57 | 57 |
58 /** Frees memory used in a MIME document and all of its parts and fields | 58 /** Frees memory used in a MIME document and all of its parts and fields |
59 @param doc the MIME document to free | 59 @param doc the MIME document to free |
60 */ | 60 */ |