diff options
author | Bill Meier <wmeier@newsguy.com> | 2014-10-10 10:41:10 -0400 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2014-10-10 14:50:08 +0000 |
commit | 23e78cd6bda4758d4f54e0cf3b9c79bb6bcb1f6e (patch) | |
tree | d8b5cb335a5f18353e186b298682b0e8cd7bb447 /epan/exported_pdu.c | |
parent | bdbc8e3a79ae7ca7b4d5f100b985f0f1699a33fd (diff) | |
download | wireshark-23e78cd6bda4758d4f54e0cf3b9c79bb6bcb1f6e.tar.gz |
Add editor modelines; Adjust whitespace as needed.
Change-Id: I3dc57f4c2ca57585103e3b71503ac4c332903e50
Reviewed-on: https://code.wireshark.org/review/4594
Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/exported_pdu.c')
-rw-r--r-- | epan/exported_pdu.c | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/epan/exported_pdu.c b/epan/exported_pdu.c index a57f458697..a4cb7076b3 100644 --- a/epan/exported_pdu.c +++ b/epan/exported_pdu.c @@ -339,20 +339,33 @@ load_export_pdu_tags(packet_info *pinfo, const char* proto_name, int wtap_encap gint register_export_pdu_tap(const char *name) { - gchar *tap_name = g_strdup(name); - export_pdu_tap_name_list = g_slist_prepend(export_pdu_tap_name_list, tap_name); - return register_tap(tap_name); + gchar *tap_name = g_strdup(name); + export_pdu_tap_name_list = g_slist_prepend(export_pdu_tap_name_list, tap_name); + return register_tap(tap_name); } static gint sort_pdu_tap_name_list(gconstpointer a, gconstpointer b) { - return g_strcmp0((const char *)a, (const char*)b); + return g_strcmp0((const char *)a, (const char*)b); } GSList * get_export_pdu_tap_list(void) { - export_pdu_tap_name_list = g_slist_sort(export_pdu_tap_name_list, sort_pdu_tap_name_list); - return export_pdu_tap_name_list; + export_pdu_tap_name_list = g_slist_sort(export_pdu_tap_name_list, sort_pdu_tap_name_list); + return export_pdu_tap_name_list; } + +/* + * Editor modelines - http://www.wireshark.org/tools/modelines.html + * + * Local variables: + * c-basic-offset: 8 + * tab-width: 8 + * indent-tabs-mode: t + * End: + * + * vi: set shiftwidth=8 tabstop=8 noexpandtab: + * :indentSize=8:tabSize=8:noTabs=false: + */ |