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

Unified Diff: fusl/include/glob.h

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/include/glob.h
diff --git a/fusl/include/glob.h b/fusl/include/glob.h
index 76f6c1c68a235688789bbf740b2ba7e5f34983a5..4e3656565680d07cc67b1ccb2be83e2968009183 100644
--- a/fusl/include/glob.h
+++ b/fusl/include/glob.h
@@ -1,5 +1,5 @@
-#ifndef _GLOB_H
-#define _GLOB_H
+#ifndef _GLOB_H
+#define _GLOB_H
#ifdef __cplusplus
extern "C" {
@@ -12,29 +12,32 @@ extern "C" {
#include <bits/alltypes.h>
typedef struct {
- size_t gl_pathc;
- char **gl_pathv;
- size_t gl_offs;
- int __dummy1;
- void *__dummy2[5];
+ size_t gl_pathc;
+ char** gl_pathv;
+ size_t gl_offs;
+ int __dummy1;
+ void* __dummy2[5];
} glob_t;
-int glob(const char *__restrict, int, int (*)(const char *, int), glob_t *__restrict);
-void globfree(glob_t *);
-
-#define GLOB_ERR 0x01
-#define GLOB_MARK 0x02
-#define GLOB_NOSORT 0x04
-#define GLOB_DOOFFS 0x08
-#define GLOB_NOCHECK 0x10
-#define GLOB_APPEND 0x20
+int glob(const char* __restrict,
+ int,
+ int (*)(const char*, int),
+ glob_t* __restrict);
+void globfree(glob_t*);
+
+#define GLOB_ERR 0x01
+#define GLOB_MARK 0x02
+#define GLOB_NOSORT 0x04
+#define GLOB_DOOFFS 0x08
+#define GLOB_NOCHECK 0x10
+#define GLOB_APPEND 0x20
#define GLOB_NOESCAPE 0x40
-#define GLOB_PERIOD 0x80
+#define GLOB_PERIOD 0x80
#define GLOB_NOSPACE 1
#define GLOB_ABORTED 2
#define GLOB_NOMATCH 3
-#define GLOB_NOSYS 4
+#define GLOB_NOSYS 4
#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
#define glob64 glob
« fusl/arch/aarch64/atomic_arch.h ('K') | « fusl/include/getopt.h ('k') | fusl/include/grp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698