summaryrefslogtreecommitdiffstats
path: root/src/commonlib/bsd/include/commonlib/bsd/elog.h
diff options
context:
space:
mode:
authorHsuan Ting Chen <roccochen@chromium.org>2022-03-25 16:30:07 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-04-28 12:55:32 +0000
commitbe345c0bb48712bed1e653022cd2b9baae42a9c8 (patch)
treec535d5556b90e55d263bd454cf07b04dda64074b /src/commonlib/bsd/include/commonlib/bsd/elog.h
parentc814fa591569378fa0bda243fa568aec94288668 (diff)
downloadcoreboot-be345c0bb48712bed1e653022cd2b9baae42a9c8.tar.gz
coreboot-be345c0bb48712bed1e653022cd2b9baae42a9c8.tar.bz2
coreboot-be345c0bb48712bed1e653022cd2b9baae42a9c8.zip
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>
Diffstat (limited to 'src/commonlib/bsd/include/commonlib/bsd/elog.h')
-rw-r--r--src/commonlib/bsd/include/commonlib/bsd/elog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonlib/bsd/include/commonlib/bsd/elog.h b/src/commonlib/bsd/include/commonlib/bsd/elog.h
index 29c781b6f54a..35a42e6b23e8 100644
--- a/src/commonlib/bsd/include/commonlib/bsd/elog.h
+++ b/src/commonlib/bsd/include/commonlib/bsd/elog.h
@@ -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>