diff options
-rw-r--r-- | index.c | 2 | ||||
-rw-r--r-- | smenu.c | 6 | ||||
-rw-r--r-- | utils.c | 2 | ||||
-rw-r--r-- | utils.h | 6 |
4 files changed, 8 insertions, 8 deletions
@@ -169,7 +169,7 @@ tst_fuzzy_traverse(tst_node_t * p, int (*callback)(void *), int first_call, w1s[0] = p->splitchar; w2s[0] = w; - if (xwcscasecmp(w1s, w2s) == 0) + if (my_wcscasecmp(w1s, w2s) == 0) { ll_node_t * node; sub_tst_t * sub_tst_data; @@ -6307,7 +6307,7 @@ main(int argc, char * argv[]) long message_max_len = 0; /* max number of bytes taken by a message * | line. */ - char * int_string = NULL; /* String to be output when typing ^C. */ + char * int_string = NULL; /* String to be output when typing ^C. */ int int_as_in_shell = 1; /* CTRL-C mimics the shell behaviour. */ FILE * input_file; /* The name of the file passed as argument if any. */ @@ -6644,7 +6644,7 @@ main(int argc, char * argv[]) free(home_ini_file); free(local_ini_file); - /* Command line options setting using ctxopt. */ + /* Command line option settings using ctxopt. */ /* """""""""""""""""""""""""""""""""""""""""" */ ctxopt_init(argv[0], "stop_if_non_option=No " "allow_abbreviations=No " @@ -6687,7 +6687,7 @@ main(int argc, char * argv[]) "[visual_bell] " "[ignore_quotes] " "[incremental_search] " - "[limits #limit:value...] "; /* keep the last space! */ + "[limits #limit:value...] "; /* don't remove this space! */ main_spec_options = "[*version] " "[*long_help] " @@ -298,7 +298,7 @@ isprint8(int i) /* Private implementation of wcscasecmp missing in c99. */ /* ==================================================== */ int -xwcscasecmp(const wchar_t * s1, const wchar_t * s2) +my_wcscasecmp(const wchar_t * s1, const wchar_t * s2) { wchar_t c1, c2; @@ -6,8 +6,8 @@ #ifndef UTILS_H #define UTILS_H -# include <errno.h> -# include <unistd.h> +#include <errno.h> +#include <unistd.h> typedef struct interval_s interval_t; typedef struct range_s range_t; @@ -63,7 +63,7 @@ int isprint8(int i); int -xwcscasecmp(const wchar_t * w1s, const wchar_t * w2s); +my_wcscasecmp(const wchar_t * w1s, const wchar_t * w2s); int is_integer(const char * const s); |