diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-03-07 20:33:22 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-07 20:33:22 -0800 |
commit | 37c1e8147ac96cb75f61a8bdf908db75af9037cb (patch) | |
tree | 148d95f91cc9b2e8dd9d2b93cdaaf996f140b262 /membuffer.h | |
parent | de6e7d894ebaeaa215213da6e5bc98995ce20c16 (diff) | |
download | subsurface-37c1e8147ac96cb75f61a8bdf908db75af9037cb.tar.gz |
Don't have the put_something() functions return success
We didn't use the return value anywhere.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'membuffer.h')
-rw-r--r-- | membuffer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/membuffer.h b/membuffer.h index 3a7f633be..4386b1e11 100644 --- a/membuffer.h +++ b/membuffer.h @@ -51,11 +51,11 @@ extern void put_milli(struct membuffer *, const char *, int, const char *); * to the memory buffer (typically the post/pre will be some XML * pattern and unit string or whatever). */ -extern int put_temperature(struct membuffer *, temperature_t, const char *, const char *); -extern int put_depth(struct membuffer *, depth_t, const char *, const char *); -extern int put_duration(struct membuffer *, duration_t, const char *, const char *); -extern int put_pressure(struct membuffer *, pressure_t, const char *, const char *); -extern int put_salinity(struct membuffer *, int, const char *, const char *); +extern void put_temperature(struct membuffer *, temperature_t, const char *, const char *); +extern void put_depth(struct membuffer *, depth_t, const char *, const char *); +extern void put_duration(struct membuffer *, duration_t, const char *, const char *); +extern void put_pressure(struct membuffer *, pressure_t, const char *, const char *); +extern void put_salinity(struct membuffer *, int, const char *, const char *); #ifdef __cplusplus } |