|
|
4b6aa8 |
From eb013d53b789cf8b99325618e248b2380c51c815 Mon Sep 17 00:00:00 2001
|
|
|
4b6aa8 |
From: Matej Habrnal <mhabrnal@redhat.com>
|
|
|
4b6aa8 |
Date: Wed, 6 Apr 2016 15:49:23 +0200
|
|
|
4b6aa8 |
Subject: [PATCH] lib: remove unused function make_description_bz
|
|
|
4b6aa8 |
|
|
|
4b6aa8 |
The function was replaced by using problem report api.
|
|
|
4b6aa8 |
|
|
|
4b6aa8 |
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
|
|
|
4b6aa8 |
---
|
|
|
4b6aa8 |
src/include/internal_libreport.h | 2 --
|
|
|
4b6aa8 |
src/lib/make_descr.c | 28 ----------------------------
|
|
|
4b6aa8 |
2 files changed, 30 deletions(-)
|
|
|
4b6aa8 |
|
|
|
4b6aa8 |
diff --git a/src/include/internal_libreport.h b/src/include/internal_libreport.h
|
|
|
4b6aa8 |
index 4f3c56a..c3b2045 100644
|
|
|
4b6aa8 |
--- a/src/include/internal_libreport.h
|
|
|
4b6aa8 |
+++ b/src/include/internal_libreport.h
|
|
|
4b6aa8 |
@@ -666,8 +666,6 @@ enum {
|
|
|
4b6aa8 |
};
|
|
|
4b6aa8 |
#define make_description libreport_make_description
|
|
|
4b6aa8 |
char *make_description(problem_data_t *problem_data, char **names_to_skip, unsigned max_text_size, unsigned desc_flags);
|
|
|
4b6aa8 |
-#define make_description_bz libreport_make_description_bz
|
|
|
4b6aa8 |
-char* make_description_bz(problem_data_t *problem_data, unsigned max_text_size);
|
|
|
4b6aa8 |
#define make_description_logger libreport_make_description_logger
|
|
|
4b6aa8 |
char* make_description_logger(problem_data_t *problem_data, unsigned max_text_size);
|
|
|
4b6aa8 |
#define make_description_mailx libreport_make_description_mailx
|
|
|
4b6aa8 |
diff --git a/src/lib/make_descr.c b/src/lib/make_descr.c
|
|
|
4b6aa8 |
index fd180a9..a16eb98 100644
|
|
|
4b6aa8 |
--- a/src/lib/make_descr.c
|
|
|
4b6aa8 |
+++ b/src/lib/make_descr.c
|
|
|
4b6aa8 |
@@ -356,34 +356,6 @@ static const char *const blacklisted_items[] = {
|
|
|
4b6aa8 |
NULL
|
|
|
4b6aa8 |
};
|
|
|
4b6aa8 |
|
|
|
4b6aa8 |
-/* Items we don't want to include in email */
|
|
|
4b6aa8 |
-static const char *const blacklisted_items_mailx[] = {
|
|
|
4b6aa8 |
- CD_DUMPDIR ,
|
|
|
4b6aa8 |
- FILENAME_ANALYZER ,
|
|
|
4b6aa8 |
- FILENAME_TYPE ,
|
|
|
4b6aa8 |
- FILENAME_COREDUMP ,
|
|
|
4b6aa8 |
- FILENAME_DUPHASH ,
|
|
|
4b6aa8 |
- FILENAME_UUID ,
|
|
|
4b6aa8 |
- FILENAME_COUNT ,
|
|
|
4b6aa8 |
- FILENAME_TAINTED_SHORT,
|
|
|
4b6aa8 |
- FILENAME_ARCHITECTURE,
|
|
|
4b6aa8 |
- FILENAME_PACKAGE,
|
|
|
4b6aa8 |
- FILENAME_OS_RELEASE,
|
|
|
4b6aa8 |
- FILENAME_COMPONENT,
|
|
|
4b6aa8 |
- FILENAME_REASON,
|
|
|
4b6aa8 |
- NULL
|
|
|
4b6aa8 |
-};
|
|
|
4b6aa8 |
-
|
|
|
4b6aa8 |
-char* make_description_bz(problem_data_t *problem_data, unsigned max_text_size)
|
|
|
4b6aa8 |
-{
|
|
|
4b6aa8 |
- return make_description(
|
|
|
4b6aa8 |
- problem_data,
|
|
|
4b6aa8 |
- (char**)blacklisted_items,
|
|
|
4b6aa8 |
- max_text_size,
|
|
|
4b6aa8 |
- MAKEDESC_SHOW_FILES | MAKEDESC_SHOW_MULTILINE
|
|
|
4b6aa8 |
- );
|
|
|
4b6aa8 |
-}
|
|
|
4b6aa8 |
-
|
|
|
4b6aa8 |
char* make_description_logger(problem_data_t *problem_data, unsigned max_text_size)
|
|
|
4b6aa8 |
{
|
|
|
4b6aa8 |
return make_description(
|
|
|
4b6aa8 |
--
|
|
|
4b6aa8 |
1.8.3.1
|
|
|
4b6aa8 |
|