aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/bitXXgen.h.tpl
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-10-09 00:01:06 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-10-09 00:01:06 +0200
commitc84851bccc2e5e60536afa474a5f13134a3b79c9 (patch)
tree3b7b4ba2c759272b5a7a7724f0f532757984a175 /include/osmocom/core/bitXXgen.h.tpl
parent5eeb17a0178a72d291cb99f2391d8ea7e9b65dd4 (diff)
comments
Diffstat (limited to 'include/osmocom/core/bitXXgen.h.tpl')
-rw-r--r--include/osmocom/core/bitXXgen.h.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/core/bitXXgen.h.tpl b/include/osmocom/core/bitXXgen.h.tpl
index 9e5a1971..7480a8f4 100644
--- a/include/osmocom/core/bitXXgen.h.tpl
+++ b/include/osmocom/core/bitXXgen.h.tpl
@@ -51,7 +51,7 @@ static inline uintXX_t osmo_loadXXbe_ext(const void *p, uint8_t n)
}
-/*! \brief store unaligned n-byte integer (little-endian encoding) into uintXX_t
+/*! \brief store unaligned n-byte integer (little-endian encoding) from uintXX_t
* \param[in] x unsigned XX bit integer
* \param[out] p Buffer to store integer
* \param[in] n Number of bytes to store
@@ -63,7 +63,7 @@ static inline void osmo_storeXXle_ext(uintXX_t x, void *p, uint8_t n)
for(i = 0; i < n; q[i] = (x >> i * 8) & 0xFF, i++);
}
-/*! \brief store unaligned n-byte integer (big-endian encoding) into uintXX_t
+/*! \brief store unaligned n-byte integer (big-endian encoding) from uintXX_t
* \param[in] x unsigned XX bit integer
* \param[out] p Buffer to store integer
* \param[in] n Number of bytes to store