diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-06-06 20:27:51 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-06-06 20:27:51 +0000 |
commit | 0e6762dd5f01e10d2e8d6ae5252caac1315828ef (patch) | |
tree | 2caa31e5bbb676cf8588f73516608ecef258757b /include/asterisk | |
parent | 6cbf69981d7efbdb6ff30fb3c7511f61573578d4 (diff) |
remove experimental module version tags
add per-file revision tags and 'show version files' CLI command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk')
-rwxr-xr-x | include/asterisk/linkedlists.h | 8 | ||||
-rwxr-xr-x | include/asterisk/module.h | 4 |
2 files changed, 5 insertions, 7 deletions
diff --git a/include/asterisk/linkedlists.h b/include/asterisk/linkedlists.h index d90365920..9f5f216fd 100755 --- a/include/asterisk/linkedlists.h +++ b/include/asterisk/linkedlists.h @@ -66,14 +66,14 @@ struct name { \ Example usage: \code - static AST_LIST_HEAD_STATIC(entry_list, entry) entries; + static AST_LIST_HEAD_STATIC(entry_list, entry); \endcode - This would define \c struct \c entry_list, and declare an instance of it named - \a entries, all intended to hold a list of type \c struct \c entry. + This would define \c struct \c entry_list, intended to hold a list of + type \c struct \c entry. */ #define AST_LIST_HEAD_STATIC(name, type) \ -struct name { \ +struct name { \ struct type *first; \ ast_mutex_t lock; \ } name = { \ diff --git a/include/asterisk/module.h b/include/asterisk/module.h index c674d16ae..4889550a1 100755 --- a/include/asterisk/module.h +++ b/include/asterisk/module.h @@ -66,8 +66,6 @@ char *key(void); /*! Return the below mentioned key, unmodified */ */ int reload(void); /*! reload configs */ -const char *version(void); - #define ASTERISK_GPL_KEY \ "This paragraph is Copyright (C) 2000, Linux Support Services, Inc. \ In order for your module to load, it must return this key via a function \ @@ -116,7 +114,7 @@ void ast_update_use_count(void); * For each of the modules loaded, modentry will be executed with the resource, description, * version, and usecount values of each particular module. */ -int ast_update_module_list(int (*modentry)(const char *module, const char *description, int usecnt, const char *version, const char *like), +int ast_update_module_list(int (*modentry)(const char *module, const char *description, int usecnt, const char *like), const char *like); /*! Ask this procedure to be run with modules have been updated */ |