aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-02-25 15:42:35 -0500
committerBill Meier <wmeier@newsguy.com>2014-02-25 20:46:49 +0000
commit11b5c15fdb815a2af400bfddef944dbac41a434a (patch)
treee7217ebcff4d4d9f7f95d0342b6776547e5537c3 /wsutil
parentc55c57ad72acda8cbce2841bc237f966bad5ae5b (diff)
Remove trailing whitespace
Change-Id: I8116f63ff88687c8db3fd6e8e23b22ab2f759af0 Reviewed-on: https://code.wireshark.org/review/385 Reviewed-by: Bill Meier <wmeier@newsguy.com> Tested-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/base64.c2
-rw-r--r--wsutil/bits_count_ones.h6
-rw-r--r--wsutil/crc10.c6
-rw-r--r--wsutil/crc10.h2
-rw-r--r--wsutil/crc7.c2
-rw-r--r--wsutil/crc7.h2
-rw-r--r--wsutil/crcdrm.c2
-rw-r--r--wsutil/crcdrm.h8
-rw-r--r--wsutil/g711.h2
-rw-r--r--wsutil/plugins.c4
-rw-r--r--wsutil/report_err.c2
-rw-r--r--wsutil/type_util.c2
-rw-r--r--wsutil/wsgcrypt.h6
13 files changed, 23 insertions, 23 deletions
diff --git a/wsutil/base64.c b/wsutil/base64.c
index 2211cff522..5f3b57c953 100644
--- a/wsutil/base64.c
+++ b/wsutil/base64.c
@@ -59,7 +59,7 @@ size_t ws_base64_decode_inplace(char *s)
}
i++;
}
- s++;
+ s++;
}
d[i*3/4] = 0;
diff --git a/wsutil/bits_count_ones.h b/wsutil/bits_count_ones.h
index 82f88bc43c..3d88d52fa9 100644
--- a/wsutil/bits_count_ones.h
+++ b/wsutil/bits_count_ones.h
@@ -31,9 +31,9 @@
#include <glib.h>
/*
- * The variable-precision SWAR algorithm is an interesting way to count
- * the number of bits set in an integer. While its performance is very
- * good (two times faster than gcc's __builtin_popcount [1] and
+ * The variable-precision SWAR algorithm is an interesting way to count
+ * the number of bits set in an integer. While its performance is very
+ * good (two times faster than gcc's __builtin_popcount [1] and
* 16 instructions when compiled with gcc -O3)
* http://playingwithpointers.com/swar.html
*/
diff --git a/wsutil/crc10.c b/wsutil/crc10.c
index 7a4b1c4c5f..37fb8e3a6c 100644
--- a/wsutil/crc10.c
+++ b/wsutil/crc10.c
@@ -4,7 +4,7 @@
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
- * Copyright 1998 Gerald Combs
+ * Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -77,7 +77,7 @@ guint16 update_crc10_by_bytes(guint16 crc10, const guint8 *data_blk_ptr,
{
register int i;
guint16 crc10_accum = 0;
-
+
for (i = 0; i < data_blk_size; i++) {
crc10_accum = ((crc10_accum << 8) & 0x3ff)
^ byte_crc10_table[( crc10_accum >> 2) & 0xff]
@@ -89,7 +89,7 @@ guint16 update_crc10_by_bytes(guint16 crc10, const guint8 *data_blk_ptr,
crc10_accum = ((crc10_accum << 8) & 0x3ff)
^ byte_crc10_table[( crc10_accum >> 2) & 0xff]
^ ((crc10<<6) & 0xFF);
-
+
return crc10_accum;
}
diff --git a/wsutil/crc10.h b/wsutil/crc10.h
index 41ea0feded..2ee98853ee 100644
--- a/wsutil/crc10.h
+++ b/wsutil/crc10.h
@@ -5,7 +5,7 @@
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
- * Copyright 1998 Gerald Combs
+ * Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
diff --git a/wsutil/crc7.c b/wsutil/crc7.c
index cf4d99d0ba..92010a3f1f 100644
--- a/wsutil/crc7.c
+++ b/wsutil/crc7.c
@@ -1,6 +1,6 @@
/**
* crc7.c
- *
+ *
* $Id$
*
* Functions and types for CRC checks.
diff --git a/wsutil/crc7.h b/wsutil/crc7.h
index 2afc9fb109..44d748efea 100644
--- a/wsutil/crc7.h
+++ b/wsutil/crc7.h
@@ -1,6 +1,6 @@
/*
* crc7.h
- *
+ *
* $Id$
*
* Functions and types for CRC checks.
diff --git a/wsutil/crcdrm.c b/wsutil/crcdrm.c
index 8299a155a2..b9e37f6abb 100644
--- a/wsutil/crcdrm.c
+++ b/wsutil/crcdrm.c
@@ -1,6 +1,6 @@
/* crcdrm.c
* another CRC 16
- * Copyright 2006, British Broadcasting Corporation
+ * Copyright 2006, British Broadcasting Corporation
*
* $Id$
*
diff --git a/wsutil/crcdrm.h b/wsutil/crcdrm.h
index 30e336f5a2..694aa6c4d6 100644
--- a/wsutil/crcdrm.h
+++ b/wsutil/crcdrm.h
@@ -1,23 +1,23 @@
/* crcdrm.h
* another CRC 16
- * Copyright 2006, British Broadcasting Corporation
+ * Copyright 2006, British Broadcasting Corporation
*
* $Id$
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
- *
+ *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
diff --git a/wsutil/g711.h b/wsutil/g711.h
index 8dc7d206ef..8482775ca0 100644
--- a/wsutil/g711.h
+++ b/wsutil/g711.h
@@ -1,4 +1,4 @@
-/*
+/*
* g711.h
*
* Definitions for routines for u-law, A-law and linear PCM conversions
diff --git a/wsutil/plugins.c b/wsutil/plugins.c
index ebd337ca43..269913bab2 100644
--- a/wsutil/plugins.c
+++ b/wsutil/plugins.c
@@ -95,7 +95,7 @@ add_plugin_type(const char *type, plugin_callback callback)
report_failure("At most 32 plugin types can be supported, so the plugin type '%s' won't be supported.",
type);
return;
- }
+ }
new_type = (plugin_type *)g_malloc(sizeof (plugin_type));
new_type->type = type;
new_type->callback = callback;
@@ -368,7 +368,7 @@ plugins_get_descriptions(plugin_description_callback callback, void *user_data)
info.pt_plug = info.pt_plug->next)
{
info.sep = "";
- info.types = g_string_new("");
+ info.types = g_string_new("");
/*
* Build a list of all the plugin types.
diff --git a/wsutil/report_err.c b/wsutil/report_err.c
index e470af903c..2e003df277 100644
--- a/wsutil/report_err.c
+++ b/wsutil/report_err.c
@@ -58,7 +58,7 @@ void
report_failure(const char *msg_format, ...)
{
va_list ap;
-
+
va_start(ap, msg_format);
(*report_failure_func)(msg_format, ap);
va_end(ap);
diff --git a/wsutil/type_util.c b/wsutil/type_util.c
index 00318b7860..d0a20b4db2 100644
--- a/wsutil/type_util.c
+++ b/wsutil/type_util.c
@@ -38,7 +38,7 @@
* gstutils.h: Header for various utility functions
*
* GNU GPL v2
- *
+ *
*/
/* work around error C2520: conversion from unsigned __int64 to double
diff --git a/wsutil/wsgcrypt.h b/wsutil/wsgcrypt.h
index 06c9d4b583..0f1f2b022b 100644
--- a/wsutil/wsgcrypt.h
+++ b/wsutil/wsgcrypt.h
@@ -10,17 +10,17 @@
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 2007 Gerald Combs
- *
+ *
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.