From e4448b6f58406744ff1a5f400b492ba27e466b56 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 4 May 1995 09:00:10 +0000 Subject: Wed May 3 11:56:35 1995 Roland McGrath * sysdeps/mach/hurd/dup2.c: Fixed broken test in last change. * elf/dl-error.c (_dl_catch_error): Actually call the OPERATE function. Duh. * hurd/Makefile (distribute): Added hurdstartup.h. * hurd/hurd.h: Remove _hurd_startup decl. * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS): Use __attribute__ ((__unused__)) instead of gratuitous self reference. * sysdeps/mach/hurd/dup2.c: Call _hurd_alloc_fd to expand the table if FD2 doesn't fit. * sysdeps/mach/hurd/getdtsz.c: Return the RLIM_NOFILE soft limit, not the current table size. * sysdeps/i386/init-first.c: New file. * sysdeps/stub/init-first.c: New file. --- hurd/hurd.h | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'hurd/hurd.h') diff --git a/hurd/hurd.h b/hurd/hurd.h index b0bbfbea3b..968910fffb 100644 --- a/hurd/hurd.h +++ b/hurd/hurd.h @@ -227,26 +227,6 @@ extern error_t _hurd_exec (task_t task, extern void _hurd_exit (int status) __attribute__ ((noreturn)); -/* Initialize Mach RPCs and essential Hurd things (_hurd_preinit_hook); do - initial handshake with the exec server (or extract the arguments from - the stack in the case of the bootstrap task); if cthreads is in use, - initialize it now and switch the calling thread to a cthread stack; - finally, call *MAIN with the information gleaned. That function is not - expected to return. ARGPTR should be the address of the first argument - 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 argc, char **argv, char **envp, - int flags, - mach_port_t *portarray, - mach_msg_type_number_t portarraysize, - int *intarray, - mach_msg_type_number_t intarraysize, - vm_address_t phdr, vm_size_t phdrsz, - vm_address_t user_entry)) - __attribute__ ((noreturn)); - /* Initialize the library data structures from the ints and ports passed to us by the exec server. Then vm_deallocate PORTARRAY and INTARRAY. */ -- cgit 1.4.1