diff options
author | Guillem Jover <guillem@debian.org> | 2013-11-12 01:05:11 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2013-12-07 07:43:21 +0100 |
commit | 9eca0910aa91eac8989b9fa78cdc9ed06fb2e998 (patch) | |
tree | aec21a49fa18b23783c2bcb45ee25e1aa0d32539 /dpkg-split | |
parent | e6793331989a7ce97af08209e536f1fb5932e993 (diff) | |
download | dpkg-9eca0910aa91eac8989b9fa78cdc9ed06fb2e998.tar.gz |
dpkg-split: Make scandepot() static
Diffstat (limited to 'dpkg-split')
-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; |