#include <sys/reboot.h>
#define init_reboot(magic) reboot(magic)
#else
- extern int reboot __P ((int __howto));
#define init_reboot(magic) reboot(0xfee1dead, 672274793, magic)
#endif
#endif
#include <sys/reboot.h>
#define init_reboot(magic) reboot(magic)
#else
- extern int reboot __P ((int __howto));
#define init_reboot(magic) reboot(0xfee1dead, 672274793, magic)
#endif
#endif
#ifndef MODUTILS_MODULE_H
#define MODUTILS_MODULE_H 1
-#ident "$Id: insmod.c,v 1.31 2000/12/07 19:56:48 markw Exp $"
+#ident "$Id: insmod.c,v 1.32 2000/12/13 16:41:29 andersen Exp $"
/* This file contains the structures used by the 2.0 and 2.1 kernels.
We do not use the kernel headers directly because we do not wish
#ifndef MODUTILS_OBJ_H
#define MODUTILS_OBJ_H 1
-#ident "$Id: insmod.c,v 1.31 2000/12/07 19:56:48 markw Exp $"
+#ident "$Id: insmod.c,v 1.32 2000/12/13 16:41:29 andersen Exp $"
/* The relocatable object is manipulated using elfin types. */
break;
default:
- printf("Warning: unhandled reloc %d\n",ELF32_R_TYPE(rel->r_info));
+ printf("Warning: unhandled reloc %d\n",(int)ELF32_R_TYPE(rel->r_info));
ret = obj_reloc_unhandled;
break;
}
#ifndef MODUTILS_MODULE_H
#define MODUTILS_MODULE_H 1
-#ident "$Id: insmod.c,v 1.31 2000/12/07 19:56:48 markw Exp $"
+#ident "$Id: insmod.c,v 1.32 2000/12/13 16:41:29 andersen Exp $"
/* This file contains the structures used by the 2.0 and 2.1 kernels.
We do not use the kernel headers directly because we do not wish
#ifndef MODUTILS_OBJ_H
#define MODUTILS_OBJ_H 1
-#ident "$Id: insmod.c,v 1.31 2000/12/07 19:56:48 markw Exp $"
+#ident "$Id: insmod.c,v 1.32 2000/12/13 16:41:29 andersen Exp $"
/* The relocatable object is manipulated using elfin types. */
break;
default:
- printf("Warning: unhandled reloc %d\n",ELF32_R_TYPE(rel->r_info));
+ printf("Warning: unhandled reloc %d\n",(int)ELF32_R_TYPE(rel->r_info));
ret = obj_reloc_unhandled;
break;
}