ply_string_has_prefix is no longer used anywhere, drop it.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
free (array);
}
-bool
-ply_string_has_prefix (const char *string,
- const char *prefix)
-{
- if (string == NULL)
- return false;
-
- if (prefix == NULL)
- return false;
-
- if (strlen (prefix) > strlen (string))
- return false;
-
- return strncmp (string, prefix, strlen (prefix)) == 0;
-}
-
double
ply_get_timestamp (void)
{
bool ply_set_fd_as_blocking (int fd);
char **ply_copy_string_array (const char *const *array);
void ply_free_string_array (char **array);
-bool ply_string_has_prefix (const char *string,
- const char *prefix);
double ply_get_timestamp (void);
void ply_save_errno (void);