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

Unified Diff: fusl/src/passwd/fgetgrent.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/passwd/fgetgrent.c
diff --git a/fusl/src/passwd/fgetgrent.c b/fusl/src/passwd/fgetgrent.c
index 7d045fd22be977aa47eaed0890c5ce8b39af9bcc..d6d9c6f24c5d8239cdb0169b06c9c5c2fe5b1fdb 100644
--- a/fusl/src/passwd/fgetgrent.c
+++ b/fusl/src/passwd/fgetgrent.c
@@ -1,12 +1,11 @@
#define _GNU_SOURCE
#include "pwf.h"
-struct group *fgetgrent(FILE *f)
-{
- static char *line, **mem;
- static struct group gr;
- struct group *res;
- size_t size=0, nmem=0;
- __getgrent_a(f, &gr, &line, &size, &mem, &nmem, &res);
- return res;
+struct group* fgetgrent(FILE* f) {
+ static char *line, **mem;
+ static struct group gr;
+ struct group* res;
+ size_t size = 0, nmem = 0;
+ __getgrent_a(f, &gr, &line, &size, &mem, &nmem, &res);
+ return res;
}

Powered by Google App Engine
This is Rietveld 408576698