summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/protobuf-c
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-10-25 22:17:43 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-10-25 22:17:43 +0300
commitb7959c62b1c479277a211504733aed14b6b914ff (patch)
tree53a5965280b758a85de7048f9d5f283c07b8ee0b /protocols/WhatsApp/src/protobuf-c
parent520940ad3ea6b0d020c9a6a9356d2bb9ebaf31a2 (diff)
getting rid of C-style shit
Diffstat (limited to 'protocols/WhatsApp/src/protobuf-c')
-rw-r--r--protocols/WhatsApp/src/protobuf-c/protobuf-c.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/WhatsApp/src/protobuf-c/protobuf-c.c b/protocols/WhatsApp/src/protobuf-c/protobuf-c.c
index 0606cf677d..3001639518 100644
--- a/protocols/WhatsApp/src/protobuf-c/protobuf-c.c
+++ b/protocols/WhatsApp/src/protobuf-c/protobuf-c.c
@@ -2941,9 +2941,7 @@ parse_member(ScannedMember *scanned_member,
* for old code, and which would be useful to support allocating
* descriptors dynamically).
*/
-static void
-message_init_generic(const ProtobufCMessageDescriptor *desc,
- ProtobufCMessage *message)
+void message_init_generic(const ProtobufCMessageDescriptor *desc, ProtobufCMessage *message)
{
unsigned i;