$NetBSD: patch-ag,v 1.1 2006/09/17 22:33:36 rillig Exp $

SunPro is a little picky about the places in which the "const" qualifier
is significant, so make sure that the function prototypes match their
declarations in the header file.

--- unix/unix.cpp.orig	2006-09-18 00:17:03.513608780 +0200
+++ unix/unix.cpp	2006-09-18 00:20:40.589099772 +0200
@@ -1892,7 +1892,7 @@ static bool unix_subdir (const char *Fil
 *
 ******************************************************************************/
 
-int UNIX_allow_file_read (const char *Filename, const unsigned int FileType)
+int UNIX_allow_file_read (const char *Filename, unsigned int FileType)
 {
   char       *filename;
   const char *errormsg;
@@ -1966,7 +1966,7 @@ int UNIX_allow_file_read (const char *Fi
 *
 ******************************************************************************/
 
-int UNIX_allow_file_write (const char *Filename, const unsigned int FileType)
+int UNIX_allow_file_write (const char *Filename, unsigned int FileType)
 {
   char       *filename;
   const char *errormsg;
