aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wordsplit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wordsplit.c b/src/wordsplit.c
index 5468297..b4baeb3 100644
--- a/src/wordsplit.c
+++ b/src/wordsplit.c
@@ -922,7 +922,7 @@ node_split_prefix (struct wordsplit *wsp,
922 922
923static int 923static int
924find_closing_paren (const char *str, size_t i, size_t len, size_t *poff, 924find_closing_paren (const char *str, size_t i, size_t len, size_t *poff,
925 char *paren) 925 char const *paren)
926{ 926{
927 enum { st_init, st_squote, st_dquote } state = st_init; 927 enum { st_init, st_squote, st_dquote } state = st_init;
928 size_t level = 1; 928 size_t level = 1;
@@ -2118,7 +2118,7 @@ wordsplit_c_quoted_length (const char *str, int quote_hex, int *quote)
2118 return len; 2118 return len;
2119} 2119}
2120 2120
2121int 2121static int
2122wsplt_unquote_char (const char *transtab, int c) 2122wsplt_unquote_char (const char *transtab, int c)
2123{ 2123{
2124 while (*transtab && transtab[1]) 2124 while (*transtab && transtab[1])
@@ -2130,7 +2130,7 @@ wsplt_unquote_char (const char *transtab, int c)
2130 return 0; 2130 return 0;
2131} 2131}
2132 2132
2133int 2133static int
2134wsplt_quote_char (const char *transtab, int c) 2134wsplt_quote_char (const char *transtab, int c)
2135{ 2135{
2136 for (; *transtab && transtab[1]; transtab += 2) 2136 for (; *transtab && transtab[1]; transtab += 2)
@@ -2274,7 +2274,7 @@ wordsplit_c_quote_copy (char *dst, const char *src, int quote_hex)
2274/* This structure describes a single expansion phase */ 2274/* This structure describes a single expansion phase */
2275struct exptab 2275struct exptab
2276{ 2276{
2277 char *descr; /* Textual description (for debugging) */ 2277 char const *descr; /* Textual description (for debugging) */
2278 int flag; /* WRDSF_ bit that controls this phase */ 2278 int flag; /* WRDSF_ bit that controls this phase */
2279 int opt; /* Entry-specific options (see EXPOPT_ flags below */ 2279 int opt; /* Entry-specific options (see EXPOPT_ flags below */
2280 int (*expansion) (struct wordsplit *wsp); /* expansion function */ 2280 int (*expansion) (struct wordsplit *wsp); /* expansion function */

Return to:

Send suggestions and report system problems to the System administrator.