Made helper functions static.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16698 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-03-11 11:05:16 +00:00
parent e389ac9d78
commit d51ecfd248
+4 -4
View File
@@ -28,8 +28,8 @@
using namespace BPrivate; using namespace BPrivate;
// Private helper functions // Private helper functions
bool isValidMimeChar(const char ch); static bool isValidMimeChar(const char ch);
status_t toLower(const char *str, char *result); static status_t toLower(const char *str, char *result);
using namespace BPrivate::Storage::Mime; using namespace BPrivate::Storage::Mime;
using namespace std; using namespace std;
@@ -44,7 +44,7 @@ const char *B_FILE_MIME_TYPE = "application/octet-stream";
const char *B_APP_MIME_TYPE = B_ELF_APP_MIME_TYPE; const char *B_APP_MIME_TYPE = B_ELF_APP_MIME_TYPE;
bool static bool
isValidMimeChar(const char ch) isValidMimeChar(const char ch)
{ {
// Handles white space and most CTLs // Handles white space and most CTLs
@@ -72,7 +72,7 @@ isValidMimeChar(const char ch)
Returns a lowercase version of str in result. Result must Returns a lowercase version of str in result. Result must
be preallocated and is assumed to be of adequate length. be preallocated and is assumed to be of adequate length.
*/ */
status_t static status_t
toLower(const char *str, char *result) toLower(const char *str, char *result)
{ {
if (!str || !result) if (!str || !result)