aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asterisk.h14
-rw-r--r--include/asterisk/module.h14
2 files changed, 14 insertions, 14 deletions
diff --git a/include/asterisk.h b/include/asterisk.h
index 97682423e..38b0f67ab 100644
--- a/include/asterisk.h
+++ b/include/asterisk.h
@@ -72,6 +72,20 @@ void dnsmgr_start_refresh(void);
int dnsmgr_reload(void);
/*!
+ * \brief Register a function to be executed before Asterisk exits.
+ * \param func The callback function to use.
+ *
+ * \return Zero on success, -1 on error.
+ */
+int ast_register_atexit(void (*func)(void));
+
+/*!
+ * \brief Unregister a function registered with ast_register_atexit().
+ * \param func The callback function to unregister.
+ */
+void ast_unregister_atexit(void (*func)(void));
+
+/*!
* \brief Register the version of a source code file with the core.
* \param file the source file name
* \param version the version string (typically a CVS revision keyword string)
diff --git a/include/asterisk/module.h b/include/asterisk/module.h
index 5447a614d..80d0b5793 100644
--- a/include/asterisk/module.h
+++ b/include/asterisk/module.h
@@ -260,20 +260,6 @@ int ast_module_reload(const char *name);
*/
char *ast_module_helper(const char *line, const char *word, int pos, int state, int rpos, int needsreload);
-/*!
- * \brief Register a function to be executed before Asterisk exits.
- * \param func The callback function to use.
- *
- * \return Zero on success, -1 on error.
- */
-int ast_register_atexit(void (*func)(void));
-
-/*!
- * \brief Unregister a function registered with ast_register_atexit().
- * \param func The callback function to unregister.
- */
-void ast_unregister_atexit(void (*func)(void));
-
/*!
* \brief Given a function address, find the corresponding module.
* This is required as a workaround to the fact that we do not