summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-04-10 14:11:05 +0200
committerElyes Haouas <ehaouas@noos.fr>2024-04-15 05:30:24 +0000
commit0ad214846c384291eabd46176bad7a54c6c11e52 (patch)
tree693c2f08dc5e36004816983f5ed82c786ed40450 /src/include
parent81b7c296d300cafcd3810dcea6d65087d15fe5ef (diff)
include: Add 'IWYU pragma: export' comment
This pragma says to IWYU (Include What You Use) that the current file is supposed to provide commented header. Change-Id: I3acb5e6b18443e454d8174b0b1f9d207c0fb78b5 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81824 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/device/device.h4
-rw-r--r--src/include/timestamp.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index b347d39999..7bc1c0a6dd 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -5,9 +5,9 @@
#define DEVICE_H
#include <console/console.h>
-#include <device/path.h>
+#include <device/path.h> /* IWYU pragma: export */
#include <device/pci_type.h>
-#include <device/resource.h>
+#include <device/resource.h> /* IWYU pragma: export */
#include <smbios.h>
#include <static.h>
#include <stdlib.h>
diff --git a/src/include/timestamp.h b/src/include/timestamp.h
index ec2364f0a8..06c30587fb 100644
--- a/src/include/timestamp.h
+++ b/src/include/timestamp.h
@@ -3,7 +3,7 @@
#ifndef __TIMESTAMP_H__
#define __TIMESTAMP_H__
-#include <commonlib/timestamp_serialized.h>
+#include <commonlib/timestamp_serialized.h> /* IWYU pragma: export */
#include <stdint.h>
#if CONFIG(COLLECT_TIMESTAMPS)