Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1366)

Unified Diff: fusl/src/string/mempcpy.c

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: fusl/src/string/mempcpy.c
diff --git a/fusl/src/string/mempcpy.c b/fusl/src/string/mempcpy.c
index a297985e6853a38e254f762a80b11838eeb71fb8..0e59c64255749667ee9bb052aa5aae74986ef6fb 100644
--- a/fusl/src/string/mempcpy.c
+++ b/fusl/src/string/mempcpy.c
@@ -1,7 +1,6 @@
#define _GNU_SOURCE
#include <string.h>
-void *mempcpy(void *dest, const void *src, size_t n)
-{
- return (char *)memcpy(dest, src, n) + n;
+void* mempcpy(void* dest, const void* src, size_t n) {
+ return (char*)memcpy(dest, src, n) + n;
}

Powered by Google App Engine
This is Rietveld 408576698