diff --git a/src/file_storage.h b/src/file_storage.h index 2209410..240d0fb 100644 --- a/src/file_storage.h +++ b/src/file_storage.h @@ -18,9 +18,7 @@ * */ -#ifndef FILE_STORAGE_H - -#define FILE_STORAGE_H +#pragma once int file_storage_print_data_save(FpPrint *print); @@ -39,5 +37,3 @@ int file_storage_deinit(void); GSList *file_storage_discover_prints(FpDevice *dev, const char *username); GSList *file_storage_discover_users(void); - -#endif diff --git a/src/fprintd.h b/src/fprintd.h index 03620d3..4d825a5 100644 --- a/src/fprintd.h +++ b/src/fprintd.h @@ -17,8 +17,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __FPRINTD_H__ -#define __FPRINTD_H__ +#pragma once #include #include @@ -99,6 +98,3 @@ guint32 _fprint_device_get_id(FprintDevice *rdev); */ extern const DBusGObjectInfo dbus_glib_fprint_manager_object_info; extern const DBusGObjectInfo dbus_glib_fprint_device_object_info; - -#endif - diff --git a/src/storage.h b/src/storage.h index 3819b87..d908c59 100644 --- a/src/storage.h +++ b/src/storage.h @@ -18,9 +18,7 @@ * */ -#ifndef STORAGE_H - -#define STORAGE_H +#pragma once typedef int (*storage_print_data_save)(FpPrint *print); typedef int (*storage_print_data_load)(FpDevice *dev, @@ -49,6 +47,3 @@ typedef struct storage fp_storage; /* The currently setup store */ fp_storage store; - -#endif -