From 7a444c0210783b926c9f60dd7b436eb086e8f396 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sat, 2 Apr 2016 13:50:17 -0500 Subject: Make cylinder_nodata() take a const cylinder pointer Some of the gas mix cleanups I'm doing are in code that uses const pointers, and wants to use this. Signed-off-by: Linus Torvalds Signed-off-by: Dirk Hohndel --- core/dive.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/dive.h') diff --git a/core/dive.h b/core/dive.h index ae24b7409..e9dd4fb59 100644 --- a/core/dive.h +++ b/core/dive.h @@ -869,7 +869,7 @@ struct ws_info_t { }; extern struct ws_info_t ws_info[100]; -extern bool cylinder_nodata(cylinder_t *cyl); +extern bool cylinder_nodata(const cylinder_t *cyl); extern bool cylinder_none(void *_data); extern bool weightsystem_none(void *_data); extern bool no_weightsystems(weightsystem_t *ws); -- cgit v1.2.3-70-g09d2