aboutsummaryrefslogtreecommitdiff
path: root/src/include/string.h
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-07 15:24:16 -0800
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-13 17:18:37 +0100
commit6d71a43af5e18229364523bb1f8f62b30ac7cd8c (patch)
treefcae5006a4482196c1c9df8b5050adb43e2ec946 /src/include/string.h
parent35af5c47b030c0a1837cb34bc9ae4d50734fefb0 (diff)
src/include: Fix space between type, * and variable name
Fix the following errors detected by checkpatch.pl: ERROR: "foo * bar" should be "foo *bar" ERROR: "foo* bar" should be "foo *bar" ERROR: "foo*bar" should be "foo *bar" TEST=Build and run on Galileo Gen2 Change-Id: I5a3ff8b92e3ceecb4ddf45d8840454d5310fc6b3 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18655 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/include/string.h')
-rw-r--r--src/include/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/string.h b/src/include/string.h
index d547e49fff..a000e6cb62 100644
--- a/src/include/string.h
+++ b/src/include/string.h
@@ -16,7 +16,7 @@ void *memset(void *s, int c, size_t n);
int memcmp(const void *s1, const void *s2, size_t n);
void *memchr(const void *s, int c, size_t n);
#if !defined(__ROMCC__)
-int snprintf(char * buf, size_t size, const char *fmt, ...);
+int snprintf(char *buf, size_t size, const char *fmt, ...);
#endif
// simple string functions