cleanup: Use #pragma once everywhere

Remove legacy header guards, and use compiler newer features.
This commit is contained in:
Marco Trevisan (Treviño)
2019-12-16 20:50:04 +01:00
parent 10945f8546
commit 2158c5e2d1
22 changed files with 22 additions and 90 deletions

View File

@@ -18,9 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __STORAGE_H
#define __STORAGE_H
#pragma once
int print_data_save (FpPrint *print,
FpFinger finger);
@@ -30,5 +28,3 @@ FpPrint * print_create_template (FpDevice *dev,
FpFinger finger);
gboolean print_image_save (FpPrint *print,
const char *path);
#endif /* __STORAGE_H */