Mercurial > pidgin.yaz
comparison libpurple/protocols/myspace/message.h @ 17352:86b4862b7a02
Add GCC sentinal attribute to msim_send().
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Sun, 03 Jun 2007 04:40:15 +0000 |
parents | d8903e1320a9 |
children | 9c5b1dc7404f |
comparison
equal
deleted
inserted
replaced
17351:437381cd780a | 17352:86b4862b7a02 |
---|---|
52 gchar *msim_msg_pack(MsimMessage *msg); | 52 gchar *msim_msg_pack(MsimMessage *msg); |
53 | 53 |
54 /* Defined in myspace.h */ | 54 /* Defined in myspace.h */ |
55 struct _MsimSession; | 55 struct _MsimSession; |
56 | 56 |
57 gboolean msim_send(struct _MsimSession *session, ...); | 57 gboolean msim_send(struct _MsimSession *session, ...) |
58 #ifdef __GNUC__ | |
59 /* Cause gcc to emit "a missing sentinel in function call" if forgot | |
60 * to write NULL as last, terminating parameter. */ | |
61 __attribute__((__sentinel__(0))) | |
62 #endif | |
63 ; | |
64 | |
58 gboolean msim_msg_send(struct _MsimSession *session, MsimMessage *msg); | 65 gboolean msim_msg_send(struct _MsimSession *session, MsimMessage *msg); |
59 | 66 |
60 MsimMessage *msim_parse(gchar *raw); | 67 MsimMessage *msim_parse(gchar *raw); |
61 GHashTable *msim_parse_body(const gchar *body_str); | 68 GHashTable *msim_parse_body(const gchar *body_str); |
62 | 69 |