Просмотр исходного кода

Remove unused macros and prototypes

Guillem Jover лет назад: 17
Родитель
Сommit
0268f49c4a
3 измененных файлов с 5 добавлено и 4 удалено
  1. 5 0
      ChangeLog
  2. 0 3
      lib/dpkg.h
  3. 0 1
      src/main.h

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2009-01-04  Guillem Jover  <guillem@debian.org>
+
+	* lib/dpkg.h (SHELL, SHELLENVIR): Remove unused macros.
+	* src/main.h (check_libver): Remove unused prototype.
+
 2009-01-04  Guillem Jover  <guillem@debian.org>
 
 	* dselect/main.cc (findintable, dme, refreshmenu): Make static.

+ 0 - 3
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

+ 0 - 1
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 */