]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - io/fchmod.c
elf: Refuse to dlopen PIE objects [BZ #24323]
[thirdparty/glibc.git] / io / fchmod.c
index f0aac92225bcdcf3491937fedbff6123a613d5e0..0dfa8fcad21bdc624311290bf50eed3f42b0b2e8 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2019 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
@@ -22,9 +22,7 @@
 
 /* Change the permissions of the file referenced by FD to MODE.  */
 int
-__fchmod (fd, mode)
-     int fd;
-     mode_t mode;
+__fchmod (int fd, mode_t mode)
 {
   if (fd < 0)
     {