$NetBSD: patch-aj,v 1.1.1.1 2000/08/25 16:15:53 jlam Exp $ --- src/cmd/main.c.orig Thu Jan 2 13:33:29 1997 +++ src/cmd/main.c @@ -6,21 +6,27 @@ // // ^HISTORY: // 05/03/92 Brad Appleton Created +// +// 08/16/00 Johnny Lam +// - Updated to ISO C++ standard //-^^--------------------------------------------------------------------- -#include -#include -#include +#include +#include +#include #include "cmdparse.h" +using namespace std; +using namespace cmdline; + // // cmdparse_new_handler -- allocation error handler for cmdparse(1). // -void cmdparse_new_handler(void) +void cmdparse_new_handler() { cerr << "cmdparse: free-store allocation error." << endl ; - ::exit(127); + exit(127); } int