Commit 200c6368 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Add missing const declarator to parameter.

parent cd381b14
......@@ -591,7 +591,7 @@ if (e>s) { /* Need this to handle NULL string.*/
} return s; }
#ifndef __CF__KnR
static int num_elem(char *strv, unsigned elem_len, int term_char, int num_term);
static int num_elem(const char *strv, unsigned elem_len, int term_char, int num_term);
#endif
/* kill_trailingn(s,t,e) will kill the trailing t's in string s. e normally
points to the terminating '\0' of s, but may actually point to anywhere in s.
......@@ -659,7 +659,7 @@ typedef DSC$DESCRIPTOR_A(1) fstringvector;
#define NUM_ELEM_ARG(B) *_2(A,B),_NUM_ELEM_ARG
#define TERM_CHARS(A,B) A,B
#ifndef __CF__KnR
static int num_elem(char *strv, unsigned elem_len, int term_char, int num_term)
static int num_elem(const char *strv, unsigned elem_len, int term_char, int num_term)
#else
static int num_elem( strv, elem_len, term_char, num_term)
char *strv; unsigned elem_len; int term_char; int num_term;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment