$NetBSD: patch-Isearch-cgi_isrch__html.cxx,v 1.1 2012/12/21 10:29:46 dholland Exp $ Chase after the C++ standard: - use the newfangled names for C++ headers - open the std namespace instead of using explicit "std" qualification - string constants are const char * --- Isearch-cgi/isrch_html.cxx~ 1998-05-18 19:22:06.000000000 +0000 +++ Isearch-cgi/isrch_html.cxx @@ -50,18 +50,18 @@ History: Archie Warnock, warnock@clark.net @@@*/ -#include -#include +#include +#include #include #include -#include +#include #ifdef UNIX #include #else #include #endif -#include +#include #include "gdt.h" #include "isearch.hxx" @@ -80,6 +80,8 @@ History: #include "config.hxx" #include "cgi-util.hxx" +using namespace std; + #define SEARCH_TYPE(n) ((n) & SEARCH_TYPE_MASK) #define SEARCH_CLASS(n) ((n) & SEARCH_CLASS_MASK) @@ -337,7 +339,7 @@ gettok(PCHR input) } PCHR -get_field(PCHR f, INT n) +get_field(PKCHR f, INT n) { PCHR bp; PCHR field;