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

Side by Side Diff: fusl/src/ldso/dladdr.c

Issue 1689833004: [fusl] Update fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: remove stray space 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
« no previous file with comments | « fusl/src/ldso/dl_iterate_phdr.c ('k') | fusl/src/ldso/dlclose.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #define _GNU_SOURCE 1 #define _GNU_SOURCE
2 #include <dlfcn.h> 2 #include <dlfcn.h>
3 #include "libc.h"
3 4
4 int __dladdr(const void *, Dl_info *); 5 static int stub_dladdr(const void *addr, Dl_info *info)
6 {
7 » return 0;
8 }
5 9
6 int dladdr(const void *addr, Dl_info *info) 10 weak_alias(stub_dladdr, dladdr);
7 {
8 » return __dladdr(addr, info);
9 }
OLDNEW
« no previous file with comments | « fusl/src/ldso/dl_iterate_phdr.c ('k') | fusl/src/ldso/dlclose.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698