compiler warning fixes

Fix a bunch of "warning: type qualifiers ignored on function
return type" (you see them with -Wall -Wextra). Still lots to fix.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@103 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 7b87012631
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2009-12-21 (Mon, 21 Dec 2009)
This commit is contained in:
Stefan Seyfried
2009-12-21 00:00:02 +00:00
parent 4d58aada7b
commit 4e814f593e
13 changed files with 34 additions and 34 deletions

View File

@@ -1,5 +1,5 @@
/*
* $Id: configfile.h,v 1.11 2003/09/25 18:52:27 thegoodguy Exp $
* $Id: configfile.h,v 1.12 2009/02/24 19:09:06 seife Exp $
*
* Copyright (C) 2001, 2002 Andreas Oberritter <obi@tuxbox.org>,
* thegoodguy <thegoodguy@tuxbox.org>
@@ -51,11 +51,11 @@ class CConfigFile
public:
CConfigFile(const char p_delimiter, const bool p_saveDefaults = true);
const bool loadConfig(const char * const filename);
const bool loadConfig(const std::string & filename);
bool loadConfig(const char * const filename);
bool loadConfig(const std::string & filename);
const bool saveConfig(const char * const filename);
const bool saveConfig(const std::string & filename);
bool saveConfig(const char * const filename);
bool saveConfig(const std::string & filename);
void clear();
@@ -100,10 +100,10 @@ class CConfigFile
//
// flags
//
const bool getModifiedFlag() const { return modifiedFlag; }
bool getModifiedFlag() const { return modifiedFlag; }
void setModifiedFlag(const bool val) { modifiedFlag = val; }
const bool getUnknownKeyQueryedFlag() const { return unknownKeyQueryedFlag; }
bool getUnknownKeyQueryedFlag() const { return unknownKeyQueryedFlag; }
void setUnknownKeyQueryedFlag(const bool val) { unknownKeyQueryedFlag = val; }
};