Commit 617171ee authored by fogal1's avatar fogal1

Mark a couple functions local to the T.U. as static.

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@7172 18c085ea-50e0-402c-830e-de6fd14e8384
parent a3b2e729
......@@ -90,7 +90,7 @@ FileOpenOptions avtDatabaseFactory::defaultFileOpenOptions;
//
// Function Prototypes
//
void CheckPermissions(const char *);
static void CheckPermissions(const char *);
// ****************************************************************************
......@@ -720,10 +720,13 @@ avtDatabaseFactory::VisitFile(DatabasePluginManager *dbmgr,
// Mark C. Miller, Thu Mar 30 16:45:35 PST 2006
// Made it use VisItStat instead of stat
//
// Tom Fogal, Sun May 3 15:33:55 MDT 2009
// Marked the functions static.
//
// ****************************************************************************
#if defined(_WIN32)
void
static void
CheckPermissions(const char *filename)
{
// nothing
......@@ -735,7 +738,7 @@ static uid_t uid;
static gid_t gids[100];
static int ngids;
void
static void
SetUpUserInfo(void)
{
setUpUserInfo = true;
......@@ -743,7 +746,7 @@ SetUpUserInfo(void)
ngids = getgroups(100, gids);
}
void
static void
CheckPermissions(const char *filename)
{
if (!setUpUserInfo)
......@@ -801,5 +804,4 @@ CheckPermissions(const char *filename)
EXCEPTION1(BadPermissionException, filename);
}
#endif
......@@ -46,7 +46,6 @@
#include <database_exports.h>
#include <stdlib.h> // For NULL
#include <string>
#include <vector>
......@@ -157,8 +156,4 @@ class DATABASE_API avtDatabaseFactory
static bool createVectorMagnitudeExpressions;
static FileOpenOptions defaultFileOpenOptions;
};
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment