Tidy up some code

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
Steffen Jaeckel
2023-11-14 14:55:29 +01:00
parent 847a86de50
commit 835ea397ac
6 changed files with 7 additions and 15 deletions

View File

@@ -652,7 +652,7 @@ format_call_external_argv(const char* template, const char* url, const char* fil
return argv;
}
gchar*
static gchar*
_unique_filename(const char* filename)
{
gchar* unique = g_strdup(filename);
@@ -676,7 +676,7 @@ _unique_filename(const char* filename)
return unique;
}
bool
static bool
_has_directory_suffix(const char* path)
{
return (g_str_has_suffix(path, ".")