diff options
Diffstat (limited to 'hurd/getdport.c')
-rw-r--r-- | hurd/getdport.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hurd/getdport.c b/hurd/getdport.c index a274a71..b58832d 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) |