/* Defining this means some system include files define some extra stuff. */
#define WOPR
#include <sys/param.h>
-#include <sys/dir.h>
#include <signal.h>
#include <sys/user.h>
-#include <sys/ioctl.h>
#include <fcntl.h>
#include <sys/ptrace.h>
#include "gdbcore.h"
#include <sys/file.h>
-#include <sys/stat.h>
/* Get kernel_u_addr using HPUX-style nlist(). */
CORE_ADDR kernel_u_addr;
static struct hpnlist nl[] = {{ "_u", -1, }, { (char *) 0, }};
/* read the value of the u area from the hp-ux kernel */
-void _initialize_kernel_u_addr ()
+void
+_initialize_hp300ux_nat ()
{
#ifndef HPUX_VERSION_5
nlist ("/hp-ux", nl);