aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/dissectors.h8
-rw-r--r--register.c6
-rw-r--r--register.h30
3 files changed, 22 insertions, 22 deletions
diff --git a/epan/dissectors/dissectors.h b/epan/dissectors/dissectors.h
index 1fca975136..56c9b6cabf 100644
--- a/epan/dissectors/dissectors.h
+++ b/epan/dissectors/dissectors.h
@@ -20,8 +20,8 @@ extern "C" {
#include <glib.h>
typedef struct _dissector_reg {
- const char *cb_name;
- void (*cb_func)(void);
+ const char *cb_name;
+ void (*cb_func)(void);
} dissector_reg_t;
WS_DLL_PUBLIC dissector_reg_t dissector_reg_proto[];
@@ -46,6 +46,6 @@ WS_DLL_PUBLIC gulong dissector_reg_handoff_count(void);
* indent-tabs-mode: nil
* End:
*
- * vi: set shiftwidth=2 tabstop=8 expandtab:
- * :indentSize=2:tabSize=8:noTabs=true:
+ * vi: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
*/
diff --git a/register.c b/register.c
index f43013d90b..04f466d663 100644
--- a/register.c
+++ b/register.c
@@ -113,11 +113,11 @@ gulong register_count(void)
* Editor modelines - http://www.wireshark.org/tools/modelines.html
*
* Local Variables:
- * c-basic-offset: 2
+ * c-basic-offset: 4
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
- * vi: set shiftwidth=2 tabstop=8 expandtab:
- * :indentSize=2:tabSize=8:noTabs=true:
+ * vi: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
*/
diff --git a/register.h b/register.h
index ab87c6d9e4..39fefe0780 100644
--- a/register.h
+++ b/register.h
@@ -20,18 +20,18 @@ extern "C" {
#include <glib.h>
typedef enum {
- RA_NONE, /* For initialization */
- RA_DISSECTORS, /* Initializing dissectors */
- RA_LISTENERS, /* Tap listeners */
- RA_EXTCAP, /* extcap register preferences */
- RA_REGISTER, /* Built-in dissector registration */
- RA_PLUGIN_REGISTER, /* Plugin dissector registration */
- RA_HANDOFF, /* Built-in dissector handoff */
- RA_PLUGIN_HANDOFF, /* Plugin dissector handoff */
- RA_LUA_PLUGINS, /* Lua plugin register */
- RA_LUA_DEREGISTER, /* Lua plugin deregister */
- RA_PREFERENCES, /* Module preferences */
- RA_INTERFACES /* Local interfaces */
+ RA_NONE, /* For initialization */
+ RA_DISSECTORS, /* Initializing dissectors */
+ RA_LISTENERS, /* Tap listeners */
+ RA_EXTCAP, /* extcap register preferences */
+ RA_REGISTER, /* Built-in dissector registration */
+ RA_PLUGIN_REGISTER, /* Plugin dissector registration */
+ RA_HANDOFF, /* Built-in dissector handoff */
+ RA_PLUGIN_HANDOFF, /* Plugin dissector handoff */
+ RA_LUA_PLUGINS, /* Lua plugin register */
+ RA_LUA_DEREGISTER, /* Lua plugin deregister */
+ RA_PREFERENCES, /* Module preferences */
+ RA_INTERFACES /* Local interfaces */
} register_action_e;
#define RA_BASE_COUNT (RA_INTERFACES - 3) // RA_EXTCAP, RA_LUA_PLUGINS, RA_LUA_DEREGISTER
@@ -77,11 +77,11 @@ gulong register_count(void);
* Editor modelines - http://www.wireshark.org/tools/modelines.html
*
* Local Variables:
- * c-basic-offset: 2
+ * c-basic-offset: 4
* tab-width: 8
* indent-tabs-mode: nil
* End:
*
- * vi: set shiftwidth=2 tabstop=8 expandtab:
- * :indentSize=2:tabSize=8:noTabs=true:
+ * vi: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
*/