summaryrefslogtreecommitdiffstats
path: root/core/equipment.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2016-04-02 13:50:17 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-04 22:37:18 -0700
commit7a444c0210783b926c9f60dd7b436eb086e8f396 (patch)
treedd28e264029ce940216309d8ba6f593987849ffa /core/equipment.c
parent900527498690c80b5303a608002431966bacae93 (diff)
downloadsubsurface-7a444c0210783b926c9f60dd7b436eb086e8f396.tar.gz
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 <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/equipment.c')
-rw-r--r--core/equipment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/equipment.c b/core/equipment.c
index 9f3e49039..1521c2309 100644
--- a/core/equipment.c
+++ b/core/equipment.c
@@ -53,7 +53,7 @@ void add_weightsystem_description(weightsystem_t *weightsystem)
}
}
-bool cylinder_nodata(cylinder_t *cyl)
+bool cylinder_nodata(const cylinder_t *cyl)
{
return !cyl->type.size.mliter &&
!cyl->type.workingpressure.mbar &&