commonlib/bsd/elog: Include <stdint.h> instead of <inttypes.h>

The header file <inttypes.h> includes <stdint.h> and defines some
additional PRI* macros. Since elog.h and elog.c do not use any of the
PRI* macro, we should include <stdint.h> directly.

Change-Id: Iac1f4f53e43f171ecef95533cd6a3bf5dff64ec4
Signed-off-by: Hsuan Ting Chen <roccochen@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63113
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
Hsuan Ting Chen 2022-03-25 16:30:07 +08:00 committed by Felix Held
parent c814fa5915
commit be345c0bb4
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
#ifndef _COMMONLIB_BSD_ELOG_H_
#define _COMMONLIB_BSD_ELOG_H_
#include <inttypes.h>
#include <stdint.h>
#include <commonlib/bsd/cb_err.h>