diff options
author | Willem Ferguson <willemferguson@zoology.up.ac.za> | 2014-08-25 10:03:46 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-25 13:54:48 -0700 |
commit | b1a92ccedf218f9c894f1d720a890373391bca93 (patch) | |
tree | 5a102745b8eeee75a5b8b78e89ce1cbbe23f0622 /profile.h | |
parent | 0e91352e969bbd5afc9839c9f41e616f66bb3f35 (diff) | |
download | subsurface-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.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 |