The following commit has been merged in the master branch:
commit 0268f49c4a9c2e110814ebda379f0fbe84ecb8ed
Author: Guillem Jover <[email protected]>
Date: Sun Jan 4 16:38:13 2009 +0200
Remove unused macros and prototypes
diff --git a/ChangeLog b/ChangeLog
index 382eef7..426467f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2009-01-04 Guillem Jover <[email protected]>
+ * lib/dpkg.h (SHELL, SHELLENVIR): Remove unused macros.
+ * src/main.h (check_libver): Remove unused prototype.
+
+2009-01-04 Guillem Jover <[email protected]>
+
* dselect/main.cc (findintable, dme, refreshmenu): Make static.
* dselect/method.cc (sthfailed): Likewise.
* dselect/pkgtop.cc (pkgprioritystring): Likewise.
diff --git a/lib/dpkg.h b/lib/dpkg.h
index 77dc666..61508ff 100644
--- a/lib/dpkg.h
+++ b/lib/dpkg.h
@@ -138,11 +138,8 @@ DPKG_BEGIN_DECLS
#define LZMA "lzma"
#define RM "rm"
#define FIND "find"
-#define SHELL "sh"
#define DIFF "diff"
-#define SHELLENVIR "SHELL"
-
#define FIND_EXPRSTARTCHARS "-(),!"
#define TARBLKSZ 512
diff --git a/src/main.h b/src/main.h
index 4109e4f..036696c 100644
--- a/src/main.h
+++ b/src/main.h
@@ -247,7 +247,6 @@ enum debugflags {
};
void debug(int which, const char *fmt, ...) PRINTFFORMAT(2,3);
-void check_libver(void);
void log_action(const char *action, struct pkginfo *pkg);
/* from trigproc.c */
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]