mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
main: Use #pragma once
This commit is contained in:
@ -18,9 +18,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FILE_STORAGE_H
|
#pragma once
|
||||||
|
|
||||||
#define FILE_STORAGE_H
|
|
||||||
|
|
||||||
int file_storage_print_data_save(FpPrint *print);
|
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_prints(FpDevice *dev, const char *username);
|
||||||
GSList *file_storage_discover_users(void);
|
GSList *file_storage_discover_users(void);
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|||||||
@ -17,8 +17,7 @@
|
|||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __FPRINTD_H__
|
#pragma once
|
||||||
#define __FPRINTD_H__
|
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <dbus/dbus-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_manager_object_info;
|
||||||
extern const DBusGObjectInfo dbus_glib_fprint_device_object_info;
|
extern const DBusGObjectInfo dbus_glib_fprint_device_object_info;
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|||||||
@ -18,9 +18,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef STORAGE_H
|
#pragma once
|
||||||
|
|
||||||
#define STORAGE_H
|
|
||||||
|
|
||||||
typedef int (*storage_print_data_save)(FpPrint *print);
|
typedef int (*storage_print_data_save)(FpPrint *print);
|
||||||
typedef int (*storage_print_data_load)(FpDevice *dev,
|
typedef int (*storage_print_data_load)(FpDevice *dev,
|
||||||
@ -49,6 +47,3 @@ typedef struct storage fp_storage;
|
|||||||
|
|
||||||
/* The currently setup store */
|
/* The currently setup store */
|
||||||
fp_storage store;
|
fp_storage store;
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user