$NetBSD: patch-ae,v 1.1.1.1 2002/05/31 14:46:48 skrll Exp $ --- kaboodle/main.cpp.orig Fri Aug 31 13:34:04 2001 +++ kaboodle/main.cpp @@ -42,7 +42,9 @@ { 0, 0, 0} }; -int main(int argc, char **argv) +extern "C" int kdemain(int, char**); + +int kdemain(int argc, char **argv) { KCmdLineArgs::init( argc, argv, KaboodleFactory::aboutData()); KCmdLineArgs::addCmdLineOptions(options);