[patch] remove duplicate function

Robert Schwebel r.schwebel at pengutronix.de
Fri Aug 6 10:31:48 PDT 2010


dbus doesn't compile:

  CC     dbus_daemon_launch_helper-config-parser-trivial.o
config-parser-trivial.c:334: error: redefinition of 'bus_config_parser_check_doctype'
config-parser-trivial.c:138: error: previous definition of 'bus_config_parser_check_doctype' was here

Looks like somebody forgot to remove this function.

Signed-off-by: Robert Schwebel <r.schwebel at pengutronix.de>

---
 bus/config-parser-trivial.c |    8 --------
 1 file changed, 8 deletions(-)

Index: dbus-1.3.2/bus/config-parser-trivial.c
===================================================================
--- dbus-1.3.2.orig/bus/config-parser-trivial.c
+++ dbus-1.3.2/bus/config-parser-trivial.c
@@ -330,14 +330,6 @@ bus_config_parser_get_service_dirs (BusC
   return &parser->service_dirs;
 }
 
-dbus_bool_t
-bus_config_parser_check_doctype (BusConfigParser   *parser,
-                                 const char        *doctype,
-                                 DBusError         *error)
-{
-    return TRUE;
-}
-
 #ifdef DBUS_BUILD_TESTS
 #include <stdio.h>
 #include "test.h"

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the dbus mailing list