From 489b91669a8767d87ea03110544134deb62c4355 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 6 Jan 2011 17:54:20 +0100 Subject: adding missing extern "C" {} This fixes the following problem: abrtd: Can't load '/usr/lib64/abrt/libKerneloopsScanner.so': /usr/lib64/abrt/libKerneloopsScanner.so: undefined symbol: _Z14extract_oopsesPP6_GListPcm Signed-off-by: Denys Vlasenko --- src/plugins/KerneloopsSysLog.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/plugins/KerneloopsSysLog.h') diff --git a/src/plugins/KerneloopsSysLog.h b/src/plugins/KerneloopsSysLog.h index d8b4d32b..eeaaed6b 100644 --- a/src/plugins/KerneloopsSysLog.h +++ b/src/plugins/KerneloopsSysLog.h @@ -30,6 +30,14 @@ #include "abrt_types.h" #include +#ifdef __cplusplus +extern "C" { +#endif + int extract_oopses(GList **oopses, char *buffer, size_t buflen); +#ifdef __cplusplus +} +#endif + #endif -- cgit From 3a16d6494d6117c7515ad9000b1f9d86a54bb536 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 17 Jan 2011 16:49:30 +0100 Subject: remove dumpoops and KerneloopsScanner plugin Signed-off-by: Denys Vlasenko --- src/plugins/KerneloopsSysLog.h | 43 ------------------------------------------ 1 file changed, 43 deletions(-) delete mode 100644 src/plugins/KerneloopsSysLog.h (limited to 'src/plugins/KerneloopsSysLog.h') diff --git a/src/plugins/KerneloopsSysLog.h b/src/plugins/KerneloopsSysLog.h deleted file mode 100644 index eeaaed6b..00000000 --- a/src/plugins/KerneloopsSysLog.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright 2007, Intel Corporation - * Copyright 2009, Red Hat Inc. - * - * This file is part of Abrt. - * - * This program file is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; version 2 of the License. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program in a file named COPYING; if not, write to the - * Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301 USA - * - * Authors: - * Anton Arapov - * Arjan van de Ven - */ - -#ifndef __INCLUDE_GUARD_KERNELOOPSSYSLOG_H_ -#define __INCLUDE_GUARD_KERNELOOPSSYSLOG_H_ - -#include "abrt_types.h" -#include - -#ifdef __cplusplus -extern "C" { -#endif - -int extract_oopses(GList **oopses, char *buffer, size_t buflen); - -#ifdef __cplusplus -} -#endif - -#endif -- cgit