summaryrefslogtreecommitdiffstats
path: root/libopkg/libopkg.c
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-14 23:53:45 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-14 23:53:45 (EST)
commit08a92571872aaa6d4cb8d43c6170c358f8ef0d94 (patch)
treee9a41af0904d1c8d9d35003e5bc9f088622a8133 /libopkg/libopkg.c
parent77bfb4c70257f7c85ace0e5ee975e4321fdd667a (diff)
opkg: remove redundant OPKG_LIB conditional code
git-svn-id: http://opkg.googlecode.com/svn/trunk@49 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/libopkg.c')
-rw-r--r--libopkg/libopkg.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libopkg/libopkg.c b/libopkg/libopkg.c
index c57ad0a..afc42da 100644
--- a/libopkg/libopkg.c
+++ b/libopkg/libopkg.c
@@ -15,8 +15,6 @@
General Public License for more details.
*/
-#ifdef OPKG_LIB
-
#include "opkg.h"
#include "includes.h"
#include "libopkg.h"
@@ -394,12 +392,9 @@ int default_opkg_message_callback(opkg_conf_t *conf, message_level_t level,
if (conf && (conf->verbosity < level)) {
return 0;
} else {
-#ifdef OPKG_LIB
if ( level == OPKG_ERROR ){
push_error_list(&error_list, msg);
-// printf(msg);
} else
-#endif
printf(msg);
}
return 0;
@@ -523,5 +518,3 @@ opkg_op (int argc, char *argv[])
return err;
}
-
-#endif /* OPKG_LIB */