diff options
author | Roland McGrath <roland@gnu.org> | 2002-05-02 21:14:03 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-05-02 21:14:03 +0000 |
commit | 519756318ce73e0a01e3031499b4483b3f618f2e (patch) | |
tree | f9410f46b39a6aa1e73c0170e83a5a479a69e5b9 /sysdeps/mach/hurd/close.c | |
parent | 0ca85e56d4c3b00f9c203dd017eea9e64ee08b01 (diff) | |
download | glibc-519756318ce73e0a01e3031499b4483b3f618f2e.tar.gz glibc-519756318ce73e0a01e3031499b4483b3f618f2e.tar.xz glibc-519756318ce73e0a01e3031499b4483b3f618f2e.zip |
* sysdeps/mach/hurd/close.c: #undef __close before function defn,
and use INTDEF on it. * sysdeps/mach/hurd/fcntl.c: Use INTDEF2. * sysdeps/mach/hurd/dl-sysdep.c (errno): New variable. * sysdeps/mach/hurd/alpha/static-start.S: New file (unfinished).
Diffstat (limited to 'sysdeps/mach/hurd/close.c')
-rw-r--r-- | sysdeps/mach/hurd/close.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysdeps/mach/hurd/close.c b/sysdeps/mach/hurd/close.c index 291fdbf0c7..7a64fa4503 100644 --- a/sysdeps/mach/hurd/close.c +++ b/sysdeps/mach/hurd/close.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 93, 94, 95, 97 Free Software Foundation, Inc. +/* Copyright (C) 1991,92,93,94,95,97,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -21,10 +21,11 @@ #include <hurd.h> #include <hurd/fd.h> +#undef __close + /* Close the file descriptor FD. */ int -__close (fd) - int fd; +__close (int fd) { error_t err; @@ -33,4 +34,5 @@ __close (fd) return err ? __hurd_fail (err) : 0; } +INTDEF (__close) weak_alias (__close, close) |