headers: Fix B_CURRENT_IMAGE_SYMBOL for GCC2.

Apparently GCC2 does not like &__func__, so just drop the &.
Fixes #17253.
This commit is contained in:
Augustin Cavalier
2021-09-15 11:38:20 -04:00
parent abe937985d
commit 05709fe3f7
+1 -1
View File
@@ -73,7 +73,7 @@ void terminate_after(image_id self);
#define B_APP_IMAGE_SYMBOL ((void*)(addr_t)0)
/* value that can be used instead of a pointer to a symbol in the program
image. */
#define B_CURRENT_IMAGE_SYMBOL ((void*)&__func__)
#define B_CURRENT_IMAGE_SYMBOL ((void*)__func__)
/* pointer to a symbol in the callers image */