main: Use #pragma once

This commit is contained in:
Bastien Nocera
2020-01-23 17:35:48 +01:00
parent 3d6dfabd8d
commit b99afd19f0
3 changed files with 3 additions and 16 deletions

View File

@ -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

View File

@ -17,8 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __FPRINTD_H__
#define __FPRINTD_H__
#pragma once
#include <glib.h>
#include <dbus/dbus-glib.h>
@ -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

View File

@ -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