diff options
author | rubidium <rubidium@openttd.org> | 2007-07-24 17:01:23 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-24 17:01:23 +0000 |
commit | 5d3f058b65c97b61709061b721d1ad6922dbc9ef (patch) | |
tree | 08ce082e1855582f3c9d1c228a0928e71c054c80 /src/string.h | |
parent | 0d9a51de6ddc432e3d48bf5f2ff5027067273f2c (diff) | |
download | openttd-5d3f058b65c97b61709061b721d1ad6922dbc9ef.tar.xz |
(svn r10673) -Cleanup: some assorted style cleanups. Primarily type* var -> type *var.
Diffstat (limited to 'src/string.h')
-rw-r--r-- | src/string.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/string.h b/src/string.h index 478c533e7..98fe7db40 100644 --- a/src/string.h +++ b/src/string.h @@ -24,10 +24,10 @@ void ttd_strlcpy(char *dst, const char *src, size_t size); * if NULL no boundary check is performed * @return a pointer to the terminating \0 in the destination buffer */ -char* strecat(char* dst, const char* src, const char* last); -char* strecpy(char* dst, const char* src, const char* last); +char *strecat(char *dst, const char *src, const char *last); +char *strecpy(char *dst, const char *src, const char *last); -char* CDECL str_fmt(const char* str, ...); +char *CDECL str_fmt(const char *str, ...); /** Scans the string for valid characters and if it finds invalid ones, * replaces them with a question mark '?' */ @@ -49,7 +49,7 @@ enum CharSetFilter { void strtolower(char *str); -static inline bool StrEmpty(const char* s) { return s[0] == '\0'; } +static inline bool StrEmpty(const char *s) { return s[0] == '\0'; } /** Get the length of a string, within a limited buffer */ |