chore: better use of configure features

This commit is contained in:
Stéphane Lesimple
2021-01-17 11:34:37 +01:00
parent c72b85bb9a
commit 9e5ba80e29
39 changed files with 550 additions and 525 deletions

View File

@@ -23,7 +23,7 @@
#ifndef RS01INCLUDES_H
#define RS01INCLUDES_H
#ifndef CLI
#ifndef WITH_CLI_ONLY_YES
/* Data structs from rs01-window.c */
typedef struct
@@ -107,7 +107,7 @@ typedef struct
{ struct MD5Context md5ctxt; /* Complete image checksum */
} RS01CksumClosure;
#ifndef CLI
#ifndef WITH_CLI_ONLY_YES
/*
* These are exported via the Method struct
*/
@@ -159,7 +159,7 @@ void RS01Create(void);
void RS01Fix(Image*);
#ifndef CLI
#ifndef WITH_CLI_ONLY_YES
/* rs01-window.c */
void RS01AddFixValues(RS01Widgets*, int, int);