Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/efisign/pe.c
- This file was moved from usr.sbin/uefisign/pe.c.
| Show All 39 Lines | |||||
| #include <errno.h> | #include <errno.h> | ||||
| #include <stddef.h> | #include <stddef.h> | ||||
| #include <stdio.h> | #include <stdio.h> | ||||
| #include <stdint.h> | #include <stdint.h> | ||||
| #include <stdlib.h> | #include <stdlib.h> | ||||
| #include <string.h> | #include <string.h> | ||||
| #include <unistd.h> | #include <unistd.h> | ||||
| #include "uefisign.h" | #include "efisign.h" | ||||
| #ifndef CTASSERT | #ifndef CTASSERT | ||||
| #define CTASSERT(x) _CTASSERT(x, __LINE__) | #define CTASSERT(x) _CTASSERT(x, __LINE__) | ||||
| #define _CTASSERT(x, y) __CTASSERT(x, y) | #define _CTASSERT(x, y) __CTASSERT(x, y) | ||||
| #define __CTASSERT(x, y) typedef char __assert_ ## y [(x) ? 1 : -1] | #define __CTASSERT(x, y) typedef char __assert_ ## y [(x) ? 1 : -1] | ||||
| #endif | #endif | ||||
| #define PE_ALIGMENT_SIZE 8 | #define PE_ALIGMENT_SIZE 8 | ||||
| ▲ Show 20 Lines • Show All 514 Lines • Show Last 20 Lines | |||||