mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: remove system includes from dive.c
Let the various source files include the system headers they need themselves. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
2b86fe84f9
commit
f9c3227975
9 changed files with 20 additions and 13 deletions
|
@ -6,19 +6,21 @@
|
|||
* void calculate_stats_summary(struct stats_summary *out, bool selected_only);
|
||||
* void calculate_stats_selected(stats_t *stats_selection);
|
||||
*/
|
||||
#include "gettext.h"
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "statistics.h"
|
||||
#include "dive.h"
|
||||
#include "display.h"
|
||||
#include "event.h"
|
||||
#include "gettext.h"
|
||||
#include "sample.h"
|
||||
#include "subsurface-time.h"
|
||||
#include "trip.h"
|
||||
#include "statistics.h"
|
||||
#include "units.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
static void process_temperatures(struct dive *dp, stats_t *stats)
|
||||
{
|
||||
temperature_t min_temp, mean_temp, max_temp = {.mkelvin = 0};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue