util/u_process: protect entrypoints for c++

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Acked-by: Antonio Caggiano <antonio.caggiano@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13996>
This commit is contained in:
Lionel Landwerlin 2022-01-10 15:34:13 +02:00 committed by Marge Bot
parent cf9956a8c5
commit b70143f4e3
1 changed files with 8 additions and 0 deletions

View File

@ -30,10 +30,18 @@
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
const char *
util_get_process_name(void);
size_t
util_get_process_exec_path(char* process_path, size_t len);
#ifdef __cplusplus
} /* extern C */
#endif
#endif