$NetBSD: patch-af,v 1.1.1.1 2002/06/05 08:58:03 skrll Exp $ --- kview/main.cpp.orig Wed Dec 5 12:00:13 2001 +++ kview/main.cpp @@ -11,7 +11,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, KViewPart::createAboutData() ); KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.