]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
fix all header files with define
authorBastian Dehn <hhaalo@arcor.de>
Sun, 11 Feb 2024 15:35:15 +0000 (16:35 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 11 Feb 2024 15:35:41 +0000 (16:35 +0100)
src/kds_s2000w_client.h
src/kds_s2000w_handler.h
src/kds_s2000w_handler_opts.h
src/kds_s2000w_image_converter.h
src/kds_s2000w_net.h
src/kds_s2000w_option_descriptors.h

index 37e824b9a9d3adbdff6f1840d8dc5c231508c0ff..572e5c846bb4c6ce59a3b7b87027998c916a10c7 100644 (file)
@@ -1,4 +1,5 @@
 #ifndef KDS_S2000W_CLIENT_H
+#define KDS_S2000W_CLIENT_H
 typedef struct {
        char* data;
        size_t size;
index 39230874fcb90f51ae5d51cd9266c90ba31a1a0d..81caaf2e43f7aaa72e5661480a05083af623578c 100644 (file)
@@ -1,4 +1,5 @@
 #ifndef KDS_S2000W_HANDLER_H
+#define KDS_S2000W_HANDLER_H
 typedef enum {
        NOTCONNECTED,
        OPENED,
index 1855e4f8f180926aa69419358cb65cd8a8384894..f9d050ca91054d97e104cf32e31103ca415ea97a 100644 (file)
@@ -1,4 +1,5 @@
 #ifndef KDS_S2000W_HANDLER_OPTS_H
+#define KDS_S2000W_HANDLER_OPTS_H
 void kds_s2000w_handler_get_option(int option, void* value);
 void kds_s2000w_handler_set_option(int option, void* value, int* info);
 void kds_s2000w_handler_set_option_auto(int option);
index d6baa985f61d5e9b61c517bf2cfe9a966c85de3b..7df3ee79ed852c6096e39bac35b3b1c9183f0ba6 100644 (file)
@@ -1,4 +1,5 @@
 #ifndef KDS_S2000W_IMAGE_CONVERTER_H
+#define KDS_S2000W_IMAGE_CONVERTER_H
 
 typedef struct {
        size_t size;
index 0c0642278bee3edd261bcaab7d04f55cc81865ab..8a7200b8ada6c630220b2f914a32d143e95d4544 100644 (file)
@@ -1,4 +1,5 @@
 #ifndef KDS_S2000W_NET_H
+#define KDS_S2000W_NET_H
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 8f3b872be094dbc5f90e601ba4f4f3fdfa539d4d..0f14846ca1fbf6da10b95389135f11b2f7e02390 100644 (file)
@@ -1,4 +1,5 @@
 #ifndef KDS_S2000W_OPTION_DESCRIPTORS_H
+#define KDS_S2000W_OPTION_DESCRIPTORS_H
 #include <sane/sane.h>
 
 #define MAX_OPTION_COUNT 25