mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
main: Use #pragma once
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user