mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	core: remove ssrf.h include file
It didn't contain anything. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
		
							parent
							
								
									4d183637d0
								
							
						
					
					
						commit
						2df30a4144
					
				
					 29 changed files with 0 additions and 39 deletions
				
			
		|  | @ -163,7 +163,6 @@ set(SUBSURFACE_CORE_LIB_SRCS | ||||||
| 	selection.h | 	selection.h | ||||||
| 	sha1.cpp | 	sha1.cpp | ||||||
| 	sha1.h | 	sha1.h | ||||||
| 	ssrf.h |  | ||||||
| 	statistics.cpp | 	statistics.cpp | ||||||
| 	statistics.h | 	statistics.h | ||||||
| 	string-format.h | 	string-format.h | ||||||
|  |  | ||||||
|  | @ -4,7 +4,6 @@ | ||||||
| #pragma clang diagnostic ignored "-Wmissing-field-initializers" | #pragma clang diagnostic ignored "-Wmissing-field-initializers" | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #include "ssrf.h" |  | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
| #include <stdio.h> | #include <stdio.h> | ||||||
| #include <string.h> | #include <string.h> | ||||||
|  |  | ||||||
|  | @ -19,7 +19,6 @@ | ||||||
| #include "dive.h" | #include "dive.h" | ||||||
| #include "divelog.h" | #include "divelog.h" | ||||||
| #include "errorhelper.h" | #include "errorhelper.h" | ||||||
| #include "ssrf.h" |  | ||||||
| #include "tag.h" | #include "tag.h" | ||||||
| 
 | 
 | ||||||
| static unsigned int two_bytes_to_int(unsigned char x, unsigned char y) | static unsigned int two_bytes_to_int(unsigned char x, unsigned char y) | ||||||
|  |  | ||||||
|  | @ -21,7 +21,6 @@ | ||||||
| #include <assert.h> | #include <assert.h> | ||||||
| 
 | 
 | ||||||
| #include "deco.h" | #include "deco.h" | ||||||
| #include "ssrf.h" |  | ||||||
| #include "dive.h" | #include "dive.h" | ||||||
| #include "gas.h" | #include "gas.h" | ||||||
| #include "subsurface-string.h" | #include "subsurface-string.h" | ||||||
|  |  | ||||||
|  | @ -1,5 +1,4 @@ | ||||||
| // SPDX-License-Identifier: GPL-2.0
 | // SPDX-License-Identifier: GPL-2.0
 | ||||||
| #include "ssrf.h" |  | ||||||
| #include <unistd.h> | #include <unistd.h> | ||||||
| #include <fcntl.h> | #include <fcntl.h> | ||||||
| #include <sys/stat.h> | #include <sys/stat.h> | ||||||
|  |  | ||||||
|  | @ -12,7 +12,6 @@ | ||||||
|  *                                                                   -> get_pr_interpolate_data() |  *                                                                   -> get_pr_interpolate_data() | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #include "ssrf.h" |  | ||||||
| #include "dive.h" | #include "dive.h" | ||||||
| #include "event.h" | #include "event.h" | ||||||
| #include "profile.h" | #include "profile.h" | ||||||
|  |  | ||||||
|  | @ -4,7 +4,6 @@ | ||||||
| #pragma clang diagnostic ignored "-Wmissing-field-initializers" | #pragma clang diagnostic ignored "-Wmissing-field-initializers" | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #include "ssrf.h" |  | ||||||
| #include <stdio.h> | #include <stdio.h> | ||||||
| #include <ctype.h> | #include <ctype.h> | ||||||
| #include <string.h> | #include <string.h> | ||||||
|  |  | ||||||
|  | @ -5,7 +5,6 @@ | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
| #include "ssrf.h" |  | ||||||
| #include "dive.h" | #include "dive.h" | ||||||
| #include "divesite.h" | #include "divesite.h" | ||||||
| #include "errorhelper.h" | #include "errorhelper.h" | ||||||
|  |  | ||||||
|  | @ -5,7 +5,6 @@ | ||||||
| 
 | 
 | ||||||
| #include "dive.h" | #include "dive.h" | ||||||
| #include "errorhelper.h" | #include "errorhelper.h" | ||||||
| #include "ssrf.h" |  | ||||||
| #include "subsurface-string.h" | #include "subsurface-string.h" | ||||||
| #include "divelist.h" | #include "divelist.h" | ||||||
| #include "divelog.h" | #include "divelog.h" | ||||||
|  |  | ||||||
|  | @ -4,7 +4,6 @@ | ||||||
| #pragma clang diagnostic ignored "-Wmissing-field-initializers" | #pragma clang diagnostic ignored "-Wmissing-field-initializers" | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #include "ssrf.h" |  | ||||||
| #include "dive.h" | #include "dive.h" | ||||||
| #include "divesite.h" | #include "divesite.h" | ||||||
| #include "sample.h" | #include "sample.h" | ||||||
|  |  | ||||||
|  | @ -6,7 +6,6 @@ | ||||||
| 
 | 
 | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
| #include "qthelper.h" | #include "qthelper.h" | ||||||
| #include "ssrf.h" |  | ||||||
| #include "dive.h" | #include "dive.h" | ||||||
| #include "sample.h" | #include "sample.h" | ||||||
| #include "subsurface-string.h" | #include "subsurface-string.h" | ||||||
|  |  | ||||||
|  | @ -4,7 +4,6 @@ | ||||||
| #pragma clang diagnostic ignored "-Wmissing-field-initializers" | #pragma clang diagnostic ignored "-Wmissing-field-initializers" | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #include "ssrf.h" |  | ||||||
| #include "dive.h" | #include "dive.h" | ||||||
| #include "sample.h" | #include "sample.h" | ||||||
| #include "subsurface-string.h" | #include "subsurface-string.h" | ||||||
|  |  | ||||||
|  | @ -4,7 +4,6 @@ | ||||||
| #pragma clang diagnostic ignored "-Wmissing-field-initializers" | #pragma clang diagnostic ignored "-Wmissing-field-initializers" | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #include "ssrf.h" |  | ||||||
| #include "dive.h" | #include "dive.h" | ||||||
| #include "parse.h" | #include "parse.h" | ||||||
| #include "sample.h" | #include "sample.h" | ||||||
|  |  | ||||||
|  | @ -4,7 +4,6 @@ | ||||||
| #pragma clang diagnostic ignored "-Wmissing-field-initializers" | #pragma clang diagnostic ignored "-Wmissing-field-initializers" | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #include "ssrf.h" |  | ||||||
| #include <fcntl.h> | #include <fcntl.h> | ||||||
| #include <stdio.h> | #include <stdio.h> | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
|  |  | ||||||
|  | @ -2,7 +2,6 @@ | ||||||
| #include <string.h> | #include <string.h> | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
| 
 | 
 | ||||||
| #include "ssrf.h" |  | ||||||
| #include "divesite.h" | #include "divesite.h" | ||||||
| #include "dive.h" | #include "dive.h" | ||||||
| #include "divelog.h" | #include "divelog.h" | ||||||
|  |  | ||||||
|  | @ -1,5 +1,4 @@ | ||||||
| // SPDX-License-Identifier: GPL-2.0
 | // SPDX-License-Identifier: GPL-2.0
 | ||||||
| #include "ssrf.h" |  | ||||||
| #include <stdio.h> | #include <stdio.h> | ||||||
| #include <ctype.h> | #include <ctype.h> | ||||||
| #include <string.h> | #include <string.h> | ||||||
|  |  | ||||||
|  | @ -1,7 +1,6 @@ | ||||||
| // SPDX-License-Identifier: GPL-2.0
 | // SPDX-License-Identifier: GPL-2.0
 | ||||||
| /* macos.c */ | /* macos.c */ | ||||||
| /* implements Mac OS X specific functions */ | /* implements Mac OS X specific functions */ | ||||||
| #include "ssrf.h" |  | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
| #include <dirent.h> | #include <dirent.h> | ||||||
| #include <fnmatch.h> | #include <fnmatch.h> | ||||||
|  |  | ||||||
|  | @ -4,7 +4,6 @@ | ||||||
| #include <string.h> | #include <string.h> | ||||||
| 
 | 
 | ||||||
| #include "errorhelper.h" | #include "errorhelper.h" | ||||||
| #include "ssrf.h" |  | ||||||
| #include "subsurface-string.h" | #include "subsurface-string.h" | ||||||
| #include "gettext.h" | #include "gettext.h" | ||||||
| #include "dive.h" | #include "dive.h" | ||||||
|  |  | ||||||
|  | @ -4,8 +4,6 @@ | ||||||
| #pragma clang diagnostic ignored "-Wmissing-field-initializers" | #pragma clang diagnostic ignored "-Wmissing-field-initializers" | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #include "ssrf.h" |  | ||||||
| 
 |  | ||||||
| #include <stdio.h> | #include <stdio.h> | ||||||
| #include <ctype.h> | #include <ctype.h> | ||||||
| #include <string.h> | #include <string.h> | ||||||
|  |  | ||||||
|  | @ -1,4 +1,3 @@ | ||||||
| #include "ssrf.h" |  | ||||||
| #include <stdio.h> | #include <stdio.h> | ||||||
| #include <assert.h> | #include <assert.h> | ||||||
| #include <stdarg.h> | #include <stdarg.h> | ||||||
|  |  | ||||||
|  | @ -10,7 +10,6 @@ | ||||||
| #include <unistd.h> | #include <unistd.h> | ||||||
| #include <ctype.h> | #include <ctype.h> | ||||||
| #include <string.h> | #include <string.h> | ||||||
| #include "ssrf.h" |  | ||||||
| #include "dive.h" | #include "dive.h" | ||||||
| #include "divelist.h" // for init_decompression()
 | #include "divelist.h" // for init_decompression()
 | ||||||
| #include "sample.h" | #include "sample.h" | ||||||
|  |  | ||||||
|  | @ -2,7 +2,6 @@ | ||||||
| /* profile.c */ | /* profile.c */ | ||||||
| /* creates all the necessary data for drawing the dive profile
 | /* creates all the necessary data for drawing the dive profile
 | ||||||
|  */ |  */ | ||||||
| #include "ssrf.h" |  | ||||||
| #include "gettext.h" | #include "gettext.h" | ||||||
| #include <limits.h> | #include <limits.h> | ||||||
| #include <string.h> | #include <string.h> | ||||||
|  |  | ||||||
|  | @ -4,7 +4,6 @@ | ||||||
| #pragma clang diagnostic ignored "-Wmissing-field-initializers" | #pragma clang diagnostic ignored "-Wmissing-field-initializers" | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #include "ssrf.h" |  | ||||||
| #include <stdio.h> | #include <stdio.h> | ||||||
| #include <ctype.h> | #include <ctype.h> | ||||||
| #include <string.h> | #include <string.h> | ||||||
|  |  | ||||||
							
								
								
									
										10
									
								
								core/ssrf.h
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								core/ssrf.h
									
										
									
									
									
								
							|  | @ -1,10 +0,0 @@ | ||||||
| // SPDX-License-Identifier: GPL-2.0
 |  | ||||||
| #ifndef SSRF_H |  | ||||||
| #define SSRF_H |  | ||||||
| 
 |  | ||||||
| #ifdef __clang__ |  | ||||||
| // Clang has a bug on zero-initialization of C structs.
 |  | ||||||
| #pragma clang diagnostic ignored "-Wmissing-field-initializers" |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
| #endif // SSRF_H
 |  | ||||||
|  | @ -1,7 +1,6 @@ | ||||||
| // SPDX-License-Identifier: GPL-2.0
 | // SPDX-License-Identifier: GPL-2.0
 | ||||||
| /* unix.c */ | /* unix.c */ | ||||||
| /* implements UNIX specific functions */ | /* implements UNIX specific functions */ | ||||||
| #include "ssrf.h" |  | ||||||
| #include "dive.h" | #include "dive.h" | ||||||
| #include "file.h" | #include "file.h" | ||||||
| #include "subsurface-string.h" | #include "subsurface-string.h" | ||||||
|  |  | ||||||
|  | @ -1,7 +1,6 @@ | ||||||
| // SPDX-License-Identifier: GPL-2.0
 | // SPDX-License-Identifier: GPL-2.0
 | ||||||
| /* windows.c */ | /* windows.c */ | ||||||
| /* implements Windows specific functions */ | /* implements Windows specific functions */ | ||||||
| #include "ssrf.h" |  | ||||||
| #include <io.h> | #include <io.h> | ||||||
| #include "dive.h" | #include "dive.h" | ||||||
| #include "device.h" | #include "device.h" | ||||||
|  |  | ||||||
|  | @ -39,7 +39,6 @@ | ||||||
| #include "core/string-format.h" | #include "core/string-format.h" | ||||||
| #include "core/pref.h" | #include "core/pref.h" | ||||||
| #include "core/selection.h" | #include "core/selection.h" | ||||||
| #include "core/ssrf.h" |  | ||||||
| #include "core/save-profiledata.h" | #include "core/save-profiledata.h" | ||||||
| #include "core/settings/qPrefLog.h" | #include "core/settings/qPrefLog.h" | ||||||
| #include "core/settings/qPrefTechnicalDetails.h" | #include "core/settings/qPrefTechnicalDetails.h" | ||||||
|  |  | ||||||
|  | @ -13,7 +13,6 @@ | ||||||
| #include "core/globals.h" | #include "core/globals.h" | ||||||
| #include "core/qt-gui.h" | #include "core/qt-gui.h" | ||||||
| #include "core/settings/qPref.h" | #include "core/settings/qPref.h" | ||||||
| #include "core/ssrf.h" |  | ||||||
| 
 | 
 | ||||||
| #ifdef SUBSURFACE_MOBILE | #ifdef SUBSURFACE_MOBILE | ||||||
| #include <QApplication> | #include <QApplication> | ||||||
|  |  | ||||||
|  | @ -29,7 +29,6 @@ | ||||||
| #include <git2.h> | #include <git2.h> | ||||||
| 
 | 
 | ||||||
| // Implementation of STP logging
 | // Implementation of STP logging
 | ||||||
| #include "core/ssrf.h" |  | ||||||
| 
 | 
 | ||||||
| int main(int argc, char **argv) | int main(int argc, char **argv) | ||||||
| { | { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue