From: Bastian Dehn Date: Sun, 11 Feb 2024 15:35:15 +0000 (+0100) Subject: fix all header files with define X-Git-Tag: v1.0.0^2~300 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=4a984d1b05e53912b3d56a7c929d46c70681ae7b;p=sane-kds-s2000w-net.git fix all header files with define --- diff --git a/src/kds_s2000w_client.h b/src/kds_s2000w_client.h index 37e824b..572e5c8 100644 --- a/src/kds_s2000w_client.h +++ b/src/kds_s2000w_client.h @@ -1,4 +1,5 @@ #ifndef KDS_S2000W_CLIENT_H +#define KDS_S2000W_CLIENT_H typedef struct { char* data; size_t size; diff --git a/src/kds_s2000w_handler.h b/src/kds_s2000w_handler.h index 3923087..81caaf2 100644 --- a/src/kds_s2000w_handler.h +++ b/src/kds_s2000w_handler.h @@ -1,4 +1,5 @@ #ifndef KDS_S2000W_HANDLER_H +#define KDS_S2000W_HANDLER_H typedef enum { NOTCONNECTED, OPENED, diff --git a/src/kds_s2000w_handler_opts.h b/src/kds_s2000w_handler_opts.h index 1855e4f..f9d050c 100644 --- a/src/kds_s2000w_handler_opts.h +++ b/src/kds_s2000w_handler_opts.h @@ -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); diff --git a/src/kds_s2000w_image_converter.h b/src/kds_s2000w_image_converter.h index d6baa98..7df3ee7 100644 --- a/src/kds_s2000w_image_converter.h +++ b/src/kds_s2000w_image_converter.h @@ -1,4 +1,5 @@ #ifndef KDS_S2000W_IMAGE_CONVERTER_H +#define KDS_S2000W_IMAGE_CONVERTER_H typedef struct { size_t size; diff --git a/src/kds_s2000w_net.h b/src/kds_s2000w_net.h index 0c06422..8a7200b 100644 --- a/src/kds_s2000w_net.h +++ b/src/kds_s2000w_net.h @@ -1,4 +1,5 @@ #ifndef KDS_S2000W_NET_H +#define KDS_S2000W_NET_H #include #include #include diff --git a/src/kds_s2000w_option_descriptors.h b/src/kds_s2000w_option_descriptors.h index 8f3b872..0f14846 100644 --- a/src/kds_s2000w_option_descriptors.h +++ b/src/kds_s2000w_option_descriptors.h @@ -1,4 +1,5 @@ #ifndef KDS_S2000W_OPTION_DESCRIPTORS_H +#define KDS_S2000W_OPTION_DESCRIPTORS_H #include #define MAX_OPTION_COUNT 25