projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
841dcbf
)
amqp plugin: Rename the "shutdown" function to avoid problems with shutdown(2).
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sat, 6 Nov 2010 07:53:02 +0000
(08:53 +0100)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Sat, 6 Nov 2010 07:53:02 +0000
(08:53 +0100)
src/amqp.c
patch
|
blob
|
history
diff --git
a/src/amqp.c
b/src/amqp.c
index
0d3899e
..
c301dca
100644
(file)
--- a/
src/amqp.c
+++ b/
src/amqp.c
@@
-399,7
+399,7
@@
static int camqp_connect (camqp_config_t *conf) /* {{{ */
return (0);
} /* }}} int camqp_connect */
return (0);
} /* }}} int camqp_connect */
-static int shutdown (void) /* {{{ */
+static int
camqp_
shutdown (void) /* {{{ */
{
size_t i;
{
size_t i;
@@
-422,7
+422,7
@@
static int shutdown (void) /* {{{ */
DEBUG ("amqp plugin: All subscriber threads exited.");
return (0);
DEBUG ("amqp plugin: All subscriber threads exited.");
return (0);
-} /* }}} int shutdown */
+} /* }}} int
camqp_
shutdown */
/*
* Subscribing code
/*
* Subscribing code
@@
-932,7
+932,7
@@
static int camqp_config (oconfig_item_t *ci) /* {{{ */
void module_register (void)
{
plugin_register_complex_config ("amqp", camqp_config);
void module_register (void)
{
plugin_register_complex_config ("amqp", camqp_config);
- plugin_register_shutdown ("amqp", shutdown);
+ plugin_register_shutdown ("amqp",
camqp_
shutdown);
} /* void module_register */
/* vim: set sw=4 sts=4 et fdm=marker : */
} /* void module_register */
/* vim: set sw=4 sts=4 et fdm=marker : */