]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - login/getpt.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / login / getpt.c
index d36e83684eb2e270e18eba3ff06c58e4711f6772..d72d5924e2e3dea10792f52503d676a2faaaacdf 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998-2013 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.
 
@@ -22,7 +22,7 @@
 /* Open the master side of a pseudoterminal and return its file
    descriptor, or -1 on error. */
 int
-__getpt ()
+__getpt (void)
 {
   __set_errno (ENOSYS);
   return -1;
@@ -31,8 +31,7 @@ weak_alias (__getpt, getpt)
 
 /* We cannot define posix_openpt in general for BSD systems.  */
 int
-__posix_openpt (oflag)
-     int oflag;
+__posix_openpt (int oflag)
 {
   __set_errno (ENOSYS);
   return -1;