From 485bdae420ce4527b412d728c8b6c39bc575c701 Mon Sep 17 00:00:00 2001 From: Danylo Piliaiev Date: Mon, 13 Mar 2023 14:56:50 +0100 Subject: [PATCH] freedreno/common: C++-proof freedreno_uuid.h Signed-off-by: Danylo Piliaiev Part-of: --- src/freedreno/common/freedreno_uuid.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/freedreno/common/freedreno_uuid.h b/src/freedreno/common/freedreno_uuid.h index 7e89671..daea98e 100644 --- a/src/freedreno/common/freedreno_uuid.h +++ b/src/freedreno/common/freedreno_uuid.h @@ -24,9 +24,17 @@ #ifndef __FREEDRENO_UUID_H__ #define __FREEDRENO_UUID_H__ +#ifdef __cplusplus +extern "C" { +#endif + struct fd_dev_id; void fd_get_driver_uuid(void *uuid); void fd_get_device_uuid(void *uuid, const struct fd_dev_id *id); +#ifdef __cplusplus +} /* end of extern "C" */ +#endif + #endif /* __FREEDRENO_UUID_H__ */ -- 2.7.4