mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
(extract_line): remove extra const qualifier erroneously introduced in bb4e152
``` ../../lib/util.c:637:7: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 637 | const const char * | ^ ``` Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
parent
8d0bb40f16
commit
dd12be7c82
@ -634,7 +634,7 @@ load_mc_home_file (const char *from, const char *filename, char **allocated_file
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
const const char *
|
||||
const char *
|
||||
extract_line (const char *s, const char *top, size_t *len)
|
||||
{
|
||||
static char tmp_line[BUF_MEDIUM];
|
||||
|
@ -198,7 +198,7 @@ const char *get_group (gid_t gid);
|
||||
const char *get_owner (uid_t uid);
|
||||
|
||||
/* Returns a copy of *s until a \n is found and is below top */
|
||||
const const char *extract_line (const char *s, const char *top, size_t *len);
|
||||
const char *extract_line (const char *s, const char *top, size_t *len);
|
||||
|
||||
/* Process spawning */
|
||||
int my_system (int flags, const char *shell, const char *command);
|
||||
|
Loading…
Reference in New Issue
Block a user