diff options
| author | Peter Jones <pjones@redhat.com> | 2020-12-02 14:01:10 -0500 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-02-13 11:02:59 -0500 |
| commit | dea41d4c2720e94bae3db17e03b806154fe1c48f (patch) | |
| tree | 095ea916eee3c0d500f4238e226b029666413144 /shim.h | |
| parent | 06e98a10f639ba53201876f2ff9fbd468bfa8189 (diff) | |
| download | efi-boot-shim-dea41d4c2720e94bae3db17e03b806154fe1c48f.tar.gz efi-boot-shim-dea41d4c2720e94bae3db17e03b806154fe1c48f.zip | |
Refactor some PE handling code
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'shim.h')
| -rw-r--r-- | shim.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -228,4 +228,7 @@ verify_buffer (char *data, int datasize, #define LogError(fmt, ...) \ LogError_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) +#define MIN(a, b) (((a) <= (b))?(a):(b)) +#define MAX(a, b) (((a) <= (b))?(b):(a)) + #endif /* SHIM_H_ */ |
