From: Danylo Piliaiev Date: Mon, 13 Mar 2023 13:56:50 +0000 (+0100) Subject: freedreno/common: C++-proof freedreno_uuid.h X-Git-Tag: upstream/23.3.3~11097 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=485bdae420ce4527b412d728c8b6c39bc575c701;p=platform%2Fupstream%2Fmesa.git freedreno/common: C++-proof freedreno_uuid.h Signed-off-by: Danylo Piliaiev Part-of: --- 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__ */