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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/src/ldso/dladdr.c
diff --git a/fusl/src/ldso/dladdr.c b/fusl/src/ldso/dladdr.c
index 7ca718f4fbf4ccc7d2257a56b6ed4a25dbcec4d8..659ab91e8a67976c38f826e0c19e3c2726267460 100644
--- a/fusl/src/ldso/dladdr.c
+++ b/fusl/src/ldso/dladdr.c
@@ -1,9 +1,10 @@
#define _GNU_SOURCE
#include <dlfcn.h>
+#include "libc.h"
-int __dladdr(const void *, Dl_info *);
-
-int dladdr(const void *addr, Dl_info *info)
+static int stub_dladdr(const void *addr, Dl_info *info)
{
- return __dladdr(addr, info);
+ return 0;
}
+
+weak_alias(stub_dladdr, dladdr);
« 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