mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
dmcommon.c: use const on read only value
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
This commit is contained in:
parent
d744cc4832
commit
994897a70d
2 changed files with 2 additions and 2 deletions
|
|
@ -1514,7 +1514,7 @@ int get_shift_time_shift(char *local_time, char *shift)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int get_stats_from_ifconfig_command(char *device, char *direction, char *option)
|
||||
int get_stats_from_ifconfig_command(const char *device, char *direction, char *option)
|
||||
{
|
||||
char buf[1024], *pch, *pchr, *ret;
|
||||
int pp, stats = 0;
|
||||
|
|
|
|||
|
|
@ -248,7 +248,7 @@ struct uci_section *get_dup_section_in_dmmap_eq(char *dmmap_package, char* secti
|
|||
int is_array_elt_exist(char **str_array, char *str, int length);
|
||||
int get_shift_time_time(int shift_time, char *local_time, int size);
|
||||
int get_shift_time_shift(char *local_time, char *shift);
|
||||
int get_stats_from_ifconfig_command(char *device, char *direction, char *option);
|
||||
int get_stats_from_ifconfig_command(const char *device, char *direction, char *option);
|
||||
int command_exec_output_to_array(char *cmd, char **output, int *length);
|
||||
char* int_period_to_date_time_format(int time);
|
||||
int copy_temporary_file_to_original_file(char *f1, char *f2);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue