diff options
Diffstat (limited to 'login/unlockpt.c')
-rw-r--r-- | login/unlockpt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/login/unlockpt.c b/login/unlockpt.c index 1f3111e72e..695cef913a 100644 --- a/login/unlockpt.c +++ b/login/unlockpt.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998-2015 Free Software Foundation, Inc. +/* Copyright (C) 1998-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Zack Weinberg <zack@rabi.phys.columbia.edu>, 1998. @@ -23,8 +23,7 @@ the slave can be opened. This is to avoid a race between opening the master and calling grantpt() to take possession of the slave. */ int -unlockpt (fd) - int fd __attribute__ ((unused)); +unlockpt (int fd __attribute__ ((unused))) { __set_errno (ENOSYS); return -1; |