mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	cleanup: move DECOTIMESTEP from dive.h to planner.h
Long-term project: reduce the size of dive.h Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
		
							parent
							
								
									44132e44a9
								
							
						
					
					
						commit
						8ce7c4664a
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -398,8 +398,6 @@ extern void subsurface_command_line_exit(int *, char ***); | |||
| 
 | ||||
| #define FRACTION(n, x) ((unsigned)(n) / (x)), ((unsigned)(n) % (x)) | ||||
| 
 | ||||
| #define DECOTIMESTEP 60 /* seconds. Unit of deco stop times */ | ||||
| 
 | ||||
| extern bool is_dc_planner(const struct divecomputer *dc); | ||||
| extern bool has_planned(const struct dive *dive, bool planned); | ||||
| 
 | ||||
|  |  | |||
|  | @ -8,6 +8,8 @@ | |||
| #include "units.h" | ||||
| #include "divemode.h" | ||||
| 
 | ||||
| #define DECOTIMESTEP 60 /* seconds. Unit of deco stop times */ | ||||
| 
 | ||||
| /* this should be converted to use our types */ | ||||
| struct divedatapoint { | ||||
| 	int time; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue