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/asm_utils.c | |
parent | bdbc8e3a79ae7ca7b4d5f100b985f0f1699a33fd (diff) |
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/asm_utils.c')
-rw-r--r-- | epan/asm_utils.c | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/epan/asm_utils.c b/epan/asm_utils.c index 1f38afc383..c80b870176 100644 --- a/epan/asm_utils.c +++ b/epan/asm_utils.c @@ -62,12 +62,24 @@ wrs_check_charset(const guchar table[256], const char *str) guint wrs_str_hash(gconstpointer v) { - /* 31 bit hash function */ - const signed char *p = (const signed char *)v; - guint32 h = *p; - if (h) - for (p += 1; *p != '\0'; p++) - h = (h << 5) - h + *p; - return h; + /* 31 bit hash function */ + const signed char *p = (const signed char *)v; + guint32 h = *p; + if (h) + for (p += 1; *p != '\0'; p++) + h = (h << 5) - h + *p; + return h; } +/* + * Editor modelines - http://www.wireshark.org/tools/modelines.html + * + * Local variables: + * c-basic-offset: 4 + * tab-width: 8 + * indent-tabs-mode: nil + * End: + * + * vi: set shiftwidth=4 tabstop=8 expandtab: + * :indentSize=4:tabSize=8:noTabs=true: + */ |