summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-03-26 00:20:35 +0700
committerHarald Welte <laforge@gnumonks.org>2019-03-27 08:56:21 +0100
commit914a8ec5b3402f9d543e937595ef2440474fc168 (patch)
tree8912b1a2907e60119e472e5fa162fa81e5702b33
parentb8d06fb6b397071a5c9f3a261aee8231cd594314 (diff)
core/msgb.h: fix incorrect Doxygen parameter description
core/msgb.h:414: warning: argument 'msgb' of command @param is not found in the argument list of msgb_pull_to_l2(struct msgb *msg) core/msgb.h:399: warning: argument 'msgb' of command @param is not found in the argument list of msgb_pull_to_l3(struct msgb *msg) core/msgb.h:351: warning: argument 'msgb' of command @param is not found in the argument list of msgb_push_u16(struct msgb *msg, uint16_t word) core/msgb.h:361: warning: argument 'msgb' of command @param is not found in the argument list of msgb_push_u32(struct msgb *msg, uint32_t word) core/msgb.h:341: warning: argument 'msgb' of command @param is not found in the argument list of msgb_push_u8(struct msgb *msg, uint8_t word) Change-Id: I5d660933ecfa89c631319eccf9e3d5c1986ec8ff
-rw-r--r--include/osmocom/core/msgb.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/osmocom/core/msgb.h b/include/osmocom/core/msgb.h
index 273fc161..5029225e 100644
--- a/include/osmocom/core/msgb.h
+++ b/include/osmocom/core/msgb.h
@@ -339,7 +339,7 @@ static inline unsigned char *msgb_push(struct msgb *msgb, unsigned int len)
}
/*! prepend a uint8 value to the head of the message
- * \param[in] msgb message buffer
+ * \param[in] msg message buffer
* \param[in] word unsigned 8bit byte to be prepended
*/
static inline void msgb_push_u8(struct msgb *msg, uint8_t word)
@@ -349,7 +349,7 @@ static inline void msgb_push_u8(struct msgb *msg, uint8_t word)
}
/*! prepend a uint16 value to the head of the message
- * \param[in] msgb message buffer
+ * \param[in] msg message buffer
* \param[in] word unsigned 16bit byte to be prepended
*/
static inline void msgb_push_u16(struct msgb *msg, uint16_t word)
@@ -359,7 +359,7 @@ static inline void msgb_push_u16(struct msgb *msg, uint16_t word)
}
/*! prepend a uint32 value to the head of the message
- * \param[in] msgb message buffer
+ * \param[in] msg message buffer
* \param[in] word unsigned 32bit byte to be prepended
*/
static inline void msgb_push_u32(struct msgb *msg, uint32_t word)
@@ -396,7 +396,7 @@ static inline unsigned char *msgb_pull(struct msgb *msgb, unsigned int len)
}
/*! remove (pull) all headers in front of l3h from the message buffer.
- * \param[in] msgb message buffer with a valid l3h
+ * \param[in] msg message buffer with a valid l3h
* \returns pointer to new start of msgb (l3h)
*
* This function moves the \a data pointer of the \ref msgb further back
@@ -411,7 +411,7 @@ static inline unsigned char *msgb_pull_to_l3(struct msgb *msg)
}
/*! remove (pull) all headers in front of l2h from the message buffer.
- * \param[in] msgb message buffer with a valid l2h
+ * \param[in] msg message buffer with a valid l2h
* \returns pointer to new start of msgb (l2h)
*
* This function moves the \a data pointer of the \ref msgb further back