Mercurial > pidgin
diff libgaim/dnssrv.h @ 14926:500a8f54354e
[gaim-migrate @ 17698]
Add extern "C" guards to header files which are missing it. This should fix problems similar to SF Bug #1592175. Also, while I was at it, I made the _GaimStringref definition private. It already had a warning to not use it directly, so it should really be safe to make private.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 07 Nov 2006 20:40:22 +0000 |
parents | 9ad313800b19 |
children |
line wrap: on
line diff
--- a/libgaim/dnssrv.h Tue Nov 07 19:54:02 2006 +0000 +++ b/libgaim/dnssrv.h Tue Nov 07 20:40:22 2006 +0000 @@ -23,6 +23,10 @@ #ifndef _GAIM_DNSSRV_H #define _GAIM_DNSSRV_H +#ifdef __cplusplus +extern "C" { +#endif + typedef struct _GaimSrvResponse GaimSrvResponse; typedef struct _GaimSrvQueryData GaimSrvQueryData; @@ -53,4 +57,8 @@ */ void gaim_srv_cancel(GaimSrvQueryData *query_data); +#ifdef __cplusplus +} +#endif + #endif /* _GAIM_DNSSRV_H */