summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/unformat.c
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2022-03-23 18:08:53 +0100
committerDamjan Marion <dmarion@me.com>2022-03-23 18:29:08 +0000
commite2d0c6e51ed29949260ae89c1a69cec39a14048f (patch)
tree7631a92c7905148c3edcc24da9d6a65e2604bb12 /src/vppinfra/unformat.c
parent8e0af7a7ffb0d6208c91e74eeaa0e46f3ac29026 (diff)
ip: Add unformat for flow_hash_config
Type: improvement This also makes the is_white_space function public Change-Id: Ifc1c0d4509f3ecae14f09bb5fa7a2eea33c49b09 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/vppinfra/unformat.c')
-rw-r--r--src/vppinfra/unformat.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/vppinfra/unformat.c b/src/vppinfra/unformat.c
index 0f6da4fd3b9..3904b450f48 100644
--- a/src/vppinfra/unformat.c
+++ b/src/vppinfra/unformat.c
@@ -70,22 +70,6 @@ _unformat_fill_input (unformat_input_t * i)
return i->index;
}
-always_inline uword
-is_white_space (uword c)
-{
- switch (c)
- {
- case ' ':
- case '\t':
- case '\n':
- case '\r':
- return 1;
-
- default:
- return 0;
- }
-}
-
/* Format function for dumping input stream. */
__clib_export u8 *
format_unformat_error (u8 * s, va_list * va)