(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
[platform/upstream/glibc.git] / hurd / hurdstartup.h
index fd6a366..e527668 100644 (file)
@@ -1,25 +1,26 @@
 /* Data from initial program startup for running under the GNU Hurd.
-Copyright (C) 1995 Free Software Foundation, Inc.
-This file is part of the GNU C Library.
+   Copyright (C) 1995,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
-modify it under the terms of the GNU Library General Public License as
-published by the Free Software Foundation; either version 2 of the
-License, or (at your option) any later version.
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
 
-The GNU C Library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-Library General Public License for more details.
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
 
-You should have received a copy of the GNU Library General Public
-License along with the GNU C Library; see the file COPYING.LIB.  If
-not, write to the Free Software Foundation, Inc., 675 Mass Ave,
-Cambridge, MA 02139, USA.  */
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
 
 #ifndef _HURDSTARTUP_H
 #define _HURDSTARTUP_H 1
 
+# include <stdint.h>
 
 /* Interesting data saved from the exec_startup reply.
    The DATA argument to *MAIN (see below) points to:
@@ -31,7 +32,7 @@ Cambridge, MA 02139, USA.  */
     char *envp_terminator = NULL;
     struct hurd_startup_data data;
 
-*/   
+*/
 
 struct hurd_startup_data
   {
@@ -57,7 +58,7 @@ struct hurd_startup_data
    of the entry point function that is called with the stack exactly as the
    exec server or kernel sets it.  */
 
-extern void _hurd_startup (void **argptr, void (*main) (int *data));
+extern void _hurd_startup (void **argptr, void (*main) (intptr_t *data));
 
 
 #endif /* hurdstartup.h */