register(.h): fix parameter 'register_cb' not found in the function declaration [-Wdocumentation]

Change-Id: I78afc76dcef56e46e296988299cab58c93eaeb03
Reviewed-on: https://code.wireshark.org/review/24459
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Alexis La Goutte 2017-11-17 08:14:01 +01:00 committed by Anders Broman
parent 81b246c040
commit 83cf4feaa9
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ typedef void (*register_cb)(register_action_e action, const char *message, gpoin
* thread safe, such as wmem_alloc. Callbacks should handle themselves
* accordingly.
*
* @param register_cb Callback routine which is called for each protocol.
* @param cb Callback routine which is called for each protocol.
* Messages have the format "proto_register_XXX".
* @param client_data Data pointer for the callback.
*/
@ -57,7 +57,7 @@ WS_DLL_PUBLIC void register_all_protocols(register_cb cb, gpointer client_data);
* might call any number of routines which are not thread safe, such as
* wmem_alloc. Callbacks should handle themselves accordingly.
*
* @param register_cb Callback routine which is called for each protocol.
* @param cb Callback routine which is called for each protocol.
* Messages have the format "proto_reg_handoff_XXX".
* @param client_data Data pointer for the callback.
*/