mirror of
https://github.com/UzixLS/picocom.git
synced 2025-07-19 07:21:18 +03:00
Const correct some pointers
This commit is contained in:

committed by
Nick Patavalis

parent
acc4e7ea1a
commit
399d7f9480
@ -130,7 +130,7 @@ const char *flow_str[] = {
|
||||
|
||||
/* character mapping names */
|
||||
struct map_names_s {
|
||||
char *name;
|
||||
const char *name;
|
||||
int flag;
|
||||
} map_names[] = {
|
||||
{ "crlf", M_CRLF },
|
||||
@ -154,7 +154,8 @@ struct map_names_s {
|
||||
int
|
||||
parse_map (char *s)
|
||||
{
|
||||
char *m, *t;
|
||||
const char *m;
|
||||
char *t;
|
||||
int f, flags, i;
|
||||
|
||||
flags = 0;
|
||||
|
Reference in New Issue
Block a user