Patch by Vasilis Kaoutsis: Style cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22518 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2007-10-12 16:49:19 +00:00
parent 7bdf92f3f7
commit 36b89f8f12
2 changed files with 33 additions and 32 deletions
+4 -3
View File
@@ -1,8 +1,9 @@
/* /*
** Copyright 2001, Travis Geiselbrecht. All rights reserved. * Copyright 2001, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License. * Distributed under the terms of the NewOS License.
*/ */
#include <sys/types.h> #include <sys/types.h>
#include <string.h> #include <string.h>
@@ -13,6 +14,7 @@ typedef int word;
#define lsize sizeof(word) #define lsize sizeof(word)
#define lmask (lsize - 1) #define lmask (lsize - 1)
void* void*
memmove(void* dest, void const* src, size_t count) memmove(void* dest, void const* src, size_t count)
{ {
@@ -69,4 +71,3 @@ memmove(void *dest, void const *src, size_t count)
} }
#endif #endif
+3 -3
View File
@@ -1,8 +1,9 @@
/* /*
** Copyright 2001, Travis Geiselbrecht. All rights reserved. * Copyright 2001, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License. * Distributed under the terms of the NewOS License.
*/ */
#include <sys/types.h> #include <sys/types.h>
#include <string.h> #include <string.h>
@@ -22,4 +23,3 @@ index(const char *s, int c)
{ {
return strchr(s, c); return strchr(s, c);
} }