Decide how much space we need to print a pointer using
sizeof(void *) rather than if __alpha__ is defined.
This commit is contained in:
parent
32fb9597f4
commit
49950e70c8
@ -37,11 +37,7 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <sys/module.h>
|
#include <sys/module.h>
|
||||||
#include <sys/linker.h>
|
#include <sys/linker.h>
|
||||||
|
|
||||||
#if defined(__alpha__)
|
#define POINTER_WIDTH (sizeof(void *) > 4 ? 18 : 10)
|
||||||
#define POINTER_WIDTH 18
|
|
||||||
#else
|
|
||||||
#define POINTER_WIDTH 10
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
printmod(int modid)
|
printmod(int modid)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user