mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 07:37:25 -04:00
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
5141d0dd23
commit
5d9ae0a212
1 changed files with 1 additions and 5 deletions
|
|
@ -37,11 +37,7 @@ __FBSDID("$FreeBSD$");
|
|||
#include <sys/module.h>
|
||||
#include <sys/linker.h>
|
||||
|
||||
#if defined(__alpha__)
|
||||
#define POINTER_WIDTH 18
|
||||
#else
|
||||
#define POINTER_WIDTH 10
|
||||
#endif
|
||||
#define POINTER_WIDTH (sizeof(void *) > 4 ? 18 : 10)
|
||||
|
||||
static void
|
||||
printmod(int modid)
|
||||
|
|
|
|||
Loading…
Reference in a new issue