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

Unified Diff: fusl/include/dlfcn.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/dlfcn.h
diff --git a/fusl/include/dlfcn.h b/fusl/include/dlfcn.h
index 78fb0733b2eb82be221e2e26fb5df369be7bb715..7759514dc28926ed416783438dd5e080ff1d80bc 100644
--- a/fusl/include/dlfcn.h
+++ b/fusl/include/dlfcn.h
@@ -1,5 +1,5 @@
-#ifndef _DLFCN_H
-#define _DLFCN_H
+#ifndef _DLFCN_H
+#define _DLFCN_H
#ifdef __cplusplus
extern "C" {
@@ -7,32 +7,32 @@ extern "C" {
#include <features.h>
-#define RTLD_LAZY 1
-#define RTLD_NOW 2
+#define RTLD_LAZY 1
+#define RTLD_NOW 2
#define RTLD_NOLOAD 4
#define RTLD_NODELETE 4096
#define RTLD_GLOBAL 256
-#define RTLD_LOCAL 0
+#define RTLD_LOCAL 0
-#define RTLD_NEXT ((void *)-1)
-#define RTLD_DEFAULT ((void *)0)
+#define RTLD_NEXT ((void*)-1)
+#define RTLD_DEFAULT ((void*)0)
#define RTLD_DI_LINKMAP 2
-int dlclose(void *);
-char *dlerror(void);
-void *dlopen(const char *, int);
-void *dlsym(void *__restrict, const char *__restrict);
+int dlclose(void*);
+char* dlerror(void);
+void* dlopen(const char*, int);
+void* dlsym(void* __restrict, const char* __restrict);
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
typedef struct {
- const char *dli_fname;
- void *dli_fbase;
- const char *dli_sname;
- void *dli_saddr;
+ const char* dli_fname;
+ void* dli_fbase;
+ const char* dli_sname;
+ void* dli_saddr;
} Dl_info;
-int dladdr(const void *, Dl_info *);
-int dlinfo(void *, int, void *);
+int dladdr(const void*, Dl_info*);
+int dlinfo(void*, int, void*);
#endif
#ifdef __cplusplus
« fusl/arch/aarch64/atomic_arch.h ('K') | « fusl/include/dirent.h ('k') | fusl/include/elf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698