Prefer https to http for gnu.org and fsf.org URLs
[platform/upstream/glibc.git] / hurd / hurdstartup.c
index 4863173..c0a78b3 100644 (file)
@@ -1,5 +1,5 @@
 /* Initial program startup for running under the GNU Hurd.
-   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
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <stdlib.h>
@@ -23,7 +23,6 @@
 #include <hurd.h>
 #include <hurd/exec_startup.h>
 #include <sysdep.h>
-#include <hurd/threadvar.h>
 #include <unistd.h>
 #include <elf.h>
 #include <set-hooks.h>
@@ -128,9 +127,9 @@ _hurd_startup (void **argptr, void (*main) (intptr_t *data))
         pointers and fill them in.  We allocate the space for the
         environment pointers immediately after the argv pointers because
         the ELF ABI will expect it.  */
-      argcptr = __alloca (sizeof (intptr_t) +
-                         (argc + 1 + envc + 1) * sizeof (char *) +
-                         sizeof (struct hurd_startup_data));
+      argcptr = __alloca (sizeof (intptr_t)
+                         + (argc + 1 + envc + 1) * sizeof (char *)
+                         sizeof (struct hurd_startup_data));
       *argcptr = argc;
       argv = (void *) (argcptr + 1);
       __argz_extract (args, argslen, argv);