[riot-notifications] [RIOT-OS/RIOT] sys/net/gnrc_pktbuf: deduplicate code (#15839)

Marian Buschsieweke notifications at github.com
Fri Jan 22 20:27:57 CET 2021


@maribu commented on this pull request.



> + *
+ * @warning This mutex will be ***internally*** locked and unlocked and should
+ *          not be touched by external code
+ */
+extern mutex_t gnrc_pktbuf_mutex;
+
+#if IS_USED(MODULE_GNRC_PKTBUF_STATIC) || DOXYGEN
+/**
+ * @brief   The actual static buffer used when module gnrc_pktbuf_static is used
+ *
+ * @warning This is an internal buffer and should not be touched by external code
+ */
+extern uint8_t *gnrc_pktbuf_static_buf;
+#endif
+
+#if IS_USED(MODULE_GNRC_PKTBUF_STATIC) || DOXYGEN

Done and squashed right in.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15839#discussion_r562858849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210122/143eb9f2/attachment.htm>


More information about the notifications mailing list