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

Side by Side Diff: fusl/src/ldso/dlopen.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 unified diff | Download patch
OLDNEW
1 #include <dlfcn.h> 1 #include <dlfcn.h>
2 #include "libc.h" 2 #include "libc.h"
3 3
4 __attribute__((__visibility__("hidden"))) 4 __attribute__((__visibility__("hidden"))) void __dl_seterr(const char*, ...);
5 void __dl_seterr(const char *, ...);
6 5
7 static void *stub_dlopen(const char *file, int mode) 6 static void* stub_dlopen(const char* file, int mode) {
8 { 7 __dl_seterr("Dynamic loading not supported");
9 » __dl_seterr("Dynamic loading not supported"); 8 return 0;
10 » return 0;
11 } 9 }
12 10
13 weak_alias(stub_dlopen, dlopen); 11 weak_alias(stub_dlopen, dlopen);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698