]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/blobdiff - src/include/lwip/pbuf.h
lwip debug print functions
[pes-rpp/rpp-lwip.git] / src / include / lwip / pbuf.h
index 786b288b4da1ee2010af73efb7b69650ba8fa254..160fa4b45357764a2cc0603db45a0358815c3448 100644 (file)
@@ -62,10 +62,10 @@ typedef enum {
 } pbuf_layer;
 
 typedef enum {
-  PBUF_RAM, /* pbuf data is stored in RAM */
-  PBUF_ROM, /* pbuf data is stored in ROM */
-  PBUF_REF, /* pbuf comes from the pbuf pool */
-  PBUF_POOL /* pbuf payload refers to RAM */
+  PBUF_RAM = 0, /* pbuf data is stored in RAM */
+  PBUF_ROM = 1, /* pbuf data is stored in ROM */
+  PBUF_REF = 2, /* pbuf comes from the pbuf pool */
+  PBUF_POOL = 3 /* pbuf payload refers to RAM */
 } pbuf_type;
 
 
@@ -136,7 +136,7 @@ struct pbuf_custom {
 #endif /* PBUF_POOL_FREE_OOSEQ */
 #if NO_SYS && PBUF_POOL_FREE_OOSEQ
 extern volatile u8_t pbuf_free_ooseq_pending;
-void pbuf_free_ooseq();
+void pbuf_free_ooseq(void);
 /** When not using sys_check_timeouts(), call PBUF_CHECK_FREE_OOSEQ()
     at regular intervals from main level to check if ooseq pbufs need to be
     freed! */