use const char for parameters, uint to avoid warnings, and strcasecmp for name comparisons

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9910 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
shatty
2004-11-11 07:35:47 +00:00
parent e25788aa41
commit ec5b4cac39
2 changed files with 11 additions and 10 deletions
@@ -74,14 +74,14 @@ public:
* This function executes in linear time.
* @return the character set with the given print name, or NULL if none exists
**/
static const BCharacterSet * FindCharacterSetByPrintName(char * name);
static const BCharacterSet * FindCharacterSetByPrintName(const char * name);
/**
* @brief return the character set with the given name, or NULL if none exists
* This function will match aliases as well.
* This function executes in linear time.
* @return the character set with the given name, or NULL if none exists
**/
static const BCharacterSet * FindCharacterSetByName(char * name);
static const BCharacterSet * FindCharacterSetByName(const char * name);
private:
uint32 index; //! the state variable for iteration
};