aboutsummaryrefslogtreecommitdiff
path: root/hurd/getdport.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-23 22:09:31 +0000
committerMiles Bader <miles@gnu.org>1997-02-23 22:09:31 +0000
commit6bac11d99322f3cdf751b43dc3b3456039fab26c (patch)
treebdec620c134a6b498fc21ea5d3825762a79ed558 /hurd/getdport.c
parent4dea6fa212ba120779f4a1f9237e02b20ab74aa5 (diff)
downloadglibc-6bac11d99322f3cdf751b43dc3b3456039fab26c.tar
glibc-6bac11d99322f3cdf751b43dc3b3456039fab26c.tar.gz
glibc-6bac11d99322f3cdf751b43dc3b3456039fab26c.tar.bz2
glibc-6bac11d99322f3cdf751b43dc3b3456039fab26c.zip
(__libc_argv, __libc_argc): Make extern. (__hurd_threadvar_max, __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): New variables.cvs/libc-970224
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)