summaryrefslogtreecommitdiff
path: root/hurd/getdport.c
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/getdport.c')
-rw-r--r--hurd/getdport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hurd/getdport.c b/hurd/getdport.c
index a274a710f7..b58832dbe4 100644
--- a/hurd/getdport.c
+++ b/hurd/getdport.c
@@ -20,7 +20,8 @@
/* This is initialized in dtable.c when that gets linked in.
If dtable.c is not linked in, it will be zero. */
-file_t (*_hurd_getdport_fn) (int fd);
+static file_t (*_default_hurd_getdport_fn) (int fd) = 0;
+weak_alias (_default_hurd_getdport_fn, _hurd_getdport_fn)
file_t
__getdport (int fd)