Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGermano Cavalcante <germano.costa@ig.com.br>2022-03-14 22:38:42 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2022-03-15 15:14:38 +0300
commit256d36683b755fbf4c3e4a80e3935888643719ea (patch)
treea2ea0b47593297a3e2f8dfa73a797250436ddc48 /source/blender/windowmanager
parent7ec2c5c10bc214707d437200481a90336831e902 (diff)
Cleanup: remove redundant 'extern StructRNA' declarations
After rB9b298cf3dbec, the `StructRNA` declarations can now be accessed via `RNA prototypes.h` Also, since all redundated declarations are now removed, `_WM_MESSAGE_EXTERN_BEGIN` and `_WM_MESSAGE_EXTERN_END` are also no longer needed. Differential Revision: https://developer.blender.org/D14342
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/message_bus/wm_message_bus.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/windowmanager/message_bus/wm_message_bus.h b/source/blender/windowmanager/message_bus/wm_message_bus.h
index ccb9b92349a..1bc983f20ad 100644
--- a/source/blender/windowmanager/message_bus/wm_message_bus.h
+++ b/source/blender/windowmanager/message_bus/wm_message_bus.h
@@ -195,16 +195,6 @@ typedef struct wmMsgSubscribeKey_RNA {
wmMsg_RNA msg;
} wmMsgSubscribeKey_RNA;
-#ifdef __GNUC__
-# define _WM_MESSAGE_EXTERN_BEGIN \
- _Pragma("GCC diagnostic push"); \
- _Pragma("GCC diagnostic ignored \"-Wredundant-decls\"");
-# define _WM_MESSAGE_EXTERN_END _Pragma("GCC diagnostic pop");
-#else
-# define _WM_MESSAGE_EXTERN_BEGIN
-# define _WM_MESSAGE_EXTERN_END
-#endif
-
void WM_msgtypeinfo_init_rna(wmMsgTypeInfo *msgtype_info);
wmMsgSubscribeKey_RNA *WM_msg_lookup_rna(struct wmMsgBus *mbus,