diff options
-rw-r--r-- | dpkg-split/dpkg-split.h | 1 | ||||
-rw-r--r-- | dpkg-split/queue.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/dpkg-split/dpkg-split.h b/dpkg-split/dpkg-split.h index 88c2e1576..a22b09c7c 100644 --- a/dpkg-split/dpkg-split.h +++ b/dpkg-split/dpkg-split.h @@ -69,7 +69,6 @@ void rerreof(FILE *f, const char *fn) DPKG_ATTR_NORET; void print_info(const struct partinfo *pi); struct partinfo *read_info(FILE *partfile, const char *fn, struct partinfo *ir); -void scandepot(void); void reassemble(struct partinfo **partlist, const char *outputfile); void mustgetpartinfo(const char *filename, struct partinfo *ri); void addtopartlist(struct partinfo**, struct partinfo*, struct partinfo *refi); diff --git a/dpkg-split/queue.c b/dpkg-split/queue.c index 65cba6987..8c7f05407 100644 --- a/dpkg-split/queue.c +++ b/dpkg-split/queue.c @@ -83,7 +83,9 @@ decompose_filename(const char *filename, struct partqueue *pq) return true; } -void scandepot(void) { +static void +scandepot(void) +{ DIR *depot; struct dirent *de; |