+2007-11-29 Guillem Jover <guillem@debian.org>
+
+ * src/main.c (log_file): Move definition to ...
+ * lib/dpkg-db.h: ... here.
+ * src/configure.c (status_pipes): Remove extern definition.
+ * src/errors.c (status_pipes): Likewise.
+ * lib/tarfn.c (TarExtractor): Do not declare as extern.
+
2007-11-29 Guillem Jover <guillem@debian.org>
* dpkg-deb/build.c (arbitrary_fields): Define as static.
[ Guillem Jover ]
* Define several private functions and variables as static.
+ * Move extern declarations to header files and stop defining them as extern.
-- Guillem Jover <guillem@debian.org> Sat, 24 Nov 2007 07:38:13 +0200
extern char *statusfile, *availablefile; /* initialised by modstatdb_init */
+extern const char *log_file;
void log_message(const char *fmt, ...);
/*** from database.c ***/
struct symlinkList *next;
} symlinkList;
-extern int
+int
TarExtractor(
void * userData
,const TarFunctions * functions)
const char* realnew, int useredited, int distedited,
enum conffopt what);
-extern struct pipef *status_pipes;
-
void deferred_configure(struct pkginfo *pkg) {
/* The algorithm for deciding what to configure first is as follows:
static struct error_report **lastreport= &reports;
static struct error_report emergency;
-extern struct pipef *status_pipes;
-
void print_error_perpackage(const char *emsg, const char *arg) {
struct error_report *nr;
}
}
-extern const char *log_file;
-
static const char okpassshortopts[]= "D";
void execbackend(const char *const *argv) NONRETURNING;