summaryrefslogtreecommitdiff
path: root/libpurple/server.h
diff options
context:
space:
mode:
authorElliott Sales de Andrade <qulogic@pidgin.im>2012-01-03 23:32:59 +0000
committerElliott Sales de Andrade <qulogic@pidgin.im>2012-01-03 23:32:59 +0000
commit1d7d489a65aa6485a0a47942334e0a498ba0ec3e (patch)
tree4cfb66486145c7669d842589946bbf92df0ea580 /libpurple/server.h
parent180b887f86978ea92355b776a10475289b3dfecb (diff)
downloadpidgin-1d7d489a65aa6485a0a47942334e0a498ba0ec3e.tar.gz
Use G_BEGIN/END_DECLS in public libpurple files. This was
previously inconsistent. Sometimes there was even both the GLib macros and an extern "C" line.
Diffstat (limited to 'libpurple/server.h')
-rw-r--r--libpurple/server.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/libpurple/server.h b/libpurple/server.h
index 3ddff92036..d80b05d224 100644
--- a/libpurple/server.h
+++ b/libpurple/server.h
@@ -30,9 +30,7 @@
#include "conversation.h"
#include "prpl.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
+G_BEGIN_DECLS
/**
* Send a typing message to a given user over a given connection.
@@ -185,8 +183,7 @@ void serv_got_chat_in(PurpleConnection *g, int id, const char *who,
PurpleMessageFlags flags, const char *message, time_t mtime);
void serv_send_file(PurpleConnection *gc, const char *who, const char *file);
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif /* _PURPLE_SERVER_H_ */
+