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