From fe7c0b30856d1286ea9a521ca9fb01e4952b6275 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 21 Sep 2019 14:03:34 +0200 Subject: Cleanup: make location argument to put_location() const Since this is an output function, the pointed-to value is not modified. Signed-off-by: Berthold Stoeger --- core/membuffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/membuffer.h') diff --git a/core/membuffer.h b/core/membuffer.h index a5f7d023d..03c42a61d 100644 --- a/core/membuffer.h +++ b/core/membuffer.h @@ -111,7 +111,7 @@ extern void put_duration(struct membuffer *, duration_t, const char *, const cha extern void put_pressure(struct membuffer *, pressure_t, const char *, const char *); extern void put_salinity(struct membuffer *, int, const char *, const char *); extern void put_degrees(struct membuffer *b, degrees_t value, const char *, const char *); -extern void put_location(struct membuffer *b, location_t *, const char *, const char *); +extern void put_location(struct membuffer *b, const location_t *, const char *, const char *); #ifdef __cplusplus } -- cgit v1.2.3-70-g09d2