summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimmo Saan <simmo.saan@gmail.com>2017-06-03 15:50:00 +0300
committerSimmo Saan <simmo.saan@gmail.com>2017-06-03 15:59:12 +0300
commit2508f0acea7982ba4f1d61f96ca95a6d78dd93aa (patch)
treeb1a20e1c0a363aadf1c68aea6c0aca7db1bcbd3d /src
parent55e7090cde228a9dae7a1fac8e05ac29bac4e563 (diff)
downloadweechat-2508f0acea7982ba4f1d61f96ca95a6d78dd93aa.zip
core, irc: remove unused structs
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-msgbuffer.h6
-rw-r--r--src/plugins/plugin-api.h6
2 files changed, 0 insertions, 12 deletions
diff --git a/src/plugins/irc/irc-msgbuffer.h b/src/plugins/irc/irc-msgbuffer.h
index 80457bfe6..c2e72fe05 100644
--- a/src/plugins/irc/irc-msgbuffer.h
+++ b/src/plugins/irc/irc-msgbuffer.h
@@ -32,12 +32,6 @@ enum t_irc_msgbuffer_target
struct t_irc_server;
-struct t_irc_msgbuffer
-{
- char *message; /* IRC message */
- enum t_irc_msgbuffer_target target; /* target buffer */
-};
-
extern struct t_gui_buffer *irc_msgbuffer_get_target_buffer (struct t_irc_server *server,
const char *nick,
const char *message,
diff --git a/src/plugins/plugin-api.h b/src/plugins/plugin-api.h
index aab8c743c..e7f8f1ca2 100644
--- a/src/plugins/plugin-api.h
+++ b/src/plugins/plugin-api.h
@@ -22,12 +22,6 @@
#include <time.h>
-struct t_plugin_api_hdata
-{
- char *name; /* hdata name */
- struct t_hdata *(*callback_get_hdata)(); /* callback to get hdata */
-};
-
/* strings */
extern void plugin_api_charset_set (struct t_weechat_plugin *plugin,
const char *charset);