summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r--sys/geom/geom.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h
index 8f416d4..7a84c23 100644
--- a/sys/geom/geom.h
+++ b/sys/geom/geom.h
@@ -360,11 +360,11 @@ struct geomconfiggeom {
/* geom_enc.c */
-uint16_t g_dec_be2(u_char *p);
-uint32_t g_dec_be4(u_char *p);
-uint16_t g_dec_le2(u_char *p);
-uint32_t g_dec_le4(u_char *p);
-uint64_t g_dec_le8(u_char *p);
+uint16_t g_dec_be2(const u_char *p);
+uint32_t g_dec_be4(const u_char *p);
+uint16_t g_dec_le2(const u_char *p);
+uint32_t g_dec_le4(const u_char *p);
+uint64_t g_dec_le8(const u_char *p);
void g_enc_le2(u_char *p, uint16_t u);
void g_enc_le4(u_char *p, uint32_t u);
void g_enc_le8(u_char *p, uint64_t u);
OpenPOWER on IntegriCloud