projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1600b31
)
freedreno/common: C++-proof freedreno_uuid.h
author
Danylo Piliaiev
<dpiliaiev@igalia.com>
Mon, 13 Mar 2023 13:56:50 +0000
(14:56 +0100)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 24 Mar 2023 15:49:25 +0000
(15:49 +0000)
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21931>
src/freedreno/common/freedreno_uuid.h
patch
|
blob
|
history
diff --git
a/src/freedreno/common/freedreno_uuid.h
b/src/freedreno/common/freedreno_uuid.h
index
7e89671
..
daea98e
100644
(file)
--- 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__ */