summaryrefslogtreecommitdiffstats
path: root/profile.h
diff options
context:
space:
mode:
authorGravatar Willem Ferguson <willemferguson@zoology.up.ac.za>2014-08-25 10:03:46 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-25 13:54:48 -0700
commitb1a92ccedf218f9c894f1d720a890373391bca93 (patch)
tree5a102745b8eeee75a5b8b78e89ce1cbbe23f0622 /profile.h
parent0e91352e969bbd5afc9839c9f41e616f66bb3f35 (diff)
downloadsubsurface-b1a92ccedf218f9c894f1d720a890373391bca93.tar.gz
Code cleanup: gaspressures.c
This patch does some cleaning up of code after the previous CCR patch that extracted the contents of gaspressures.c form profile.c 1) Inapplicable #defines were removed 2) static function types were reinstated where practically possible. 3) comments at the start of the file were expanded a bit. Signed-off-by: Willem Ferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.h')
-rw-r--r--profile.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/profile.h b/profile.h
index 67e61521f..55bb396f6 100644
--- a/profile.h
+++ b/profile.h
@@ -81,13 +81,11 @@ int get_maxtime(struct plot_info *pi);
* partial pressure graphs */
int get_maxdepth(struct plot_info *pi);
-
#define SENSOR_PR 0
#define INTERPOLATED_PR 1
#define SENSOR_PRESSURE(_entry) (_entry)->pressure[SENSOR_PR]
#define INTERPOLATED_PRESSURE(_entry) (_entry)->pressure[INTERPOLATED_PR]
#define GET_PRESSURE(_entry) (SENSOR_PRESSURE(_entry) ? SENSOR_PRESSURE(_entry) : INTERPOLATED_PRESSURE(_entry))
-
#define SAC_WINDOW 45 /* sliding window in seconds for current SAC calculation */
#ifdef __cplusplus