summaryrefslogtreecommitdiffstats
path: root/src/doxysearch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/doxysearch.cpp')
-rw-r--r--src/doxysearch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doxysearch.cpp b/src/doxysearch.cpp
index 1dbad7e..d14cf37 100644
--- a/src/doxysearch.cpp
+++ b/src/doxysearch.cpp
@@ -204,7 +204,7 @@ void printFooter()
//----------------------------------------------------------------------------
-void message(char *fmt,...)
+void message(const char *fmt,...)
{
printHeader();
printf("<h2>");
@@ -413,7 +413,7 @@ void searchIndex(const char *word,SearchResults *results)
//----------------------------------------------------------------------------
-int sortResults(const void *a1,const void *a2)
+extern "C" int sortResults(const void *a1,const void *a2)
{
SearchDoc **d1=(SearchDoc **)a1;
SearchDoc **d2=(SearchDoc **)a2;