mirror of
https://github.com/mirror/wget.git
synced 2025-03-09 17:20:33 +08:00
* src/metalink.h: Include dirname.h, remove declaration of last_component
This commit is contained in:
parent
5debe0a96f
commit
0bb97fecb7
@ -30,6 +30,7 @@ as that of the covered work. */
|
||||
#define METALINK_H
|
||||
|
||||
#include <metalink/metalink_types.h>
|
||||
#include "dirname.h"
|
||||
#include "wget.h"
|
||||
|
||||
#ifdef HAVE_SSL
|
||||
@ -50,7 +51,6 @@ int metalink_meta_cmp (const void* meta1, const void* meta2);
|
||||
|
||||
int metalink_check_safe_path (const char *path);
|
||||
|
||||
char *last_component (char const *name);
|
||||
void replace_metalink_basename (char **name, char *ref);
|
||||
char *get_metalink_basename (char *name);
|
||||
void append_suffix_number (char **str, const char *sep, wgint num);
|
||||
|
Loading…
Reference in New Issue
Block a user