kopia lustrzana https://gitlab.com/sane-project/backends
genesys: Don't define different backend names in source files
rodzic
873e82c0a0
commit
6f617e9889
|
@ -58,7 +58,7 @@
|
|||
* SANE backend for Genesys Logic GL646/GL841/GL842/GL843/GL846/GL847/GL124 based scanners
|
||||
*/
|
||||
|
||||
#define BACKEND_NAME genesys
|
||||
#define DEBUG_NOT_STATIC
|
||||
|
||||
#include "genesys.h"
|
||||
#include "../include/sane/sanei_config.h"
|
||||
|
|
|
@ -47,6 +47,10 @@
|
|||
#ifndef GENESYS_H
|
||||
#define GENESYS_H
|
||||
|
||||
#ifndef BACKEND_NAME
|
||||
# define BACKEND_NAME genesys
|
||||
#endif
|
||||
|
||||
#include "genesys_low.h"
|
||||
|
||||
#ifndef PATH_MAX
|
||||
|
|
|
@ -42,8 +42,7 @@
|
|||
If you do not wish that, delete this exception notice.
|
||||
*/
|
||||
|
||||
#undef BACKEND_NAME
|
||||
#define BACKEND_NAME genesys_gl124
|
||||
#define DEBUG_DECLARE_ONLY
|
||||
|
||||
#include "genesys_gl124.h"
|
||||
|
||||
|
|
|
@ -48,8 +48,7 @@
|
|||
If you do not wish that, delete this exception notice.
|
||||
*/
|
||||
|
||||
#undef BACKEND_NAME
|
||||
#define BACKEND_NAME genesys_gl646
|
||||
#define DEBUG_DECLARE_ONLY
|
||||
|
||||
#include "genesys_gl646.h"
|
||||
|
||||
|
|
|
@ -50,8 +50,7 @@
|
|||
If you do not wish that, delete this exception notice.
|
||||
*/
|
||||
|
||||
#undef BACKEND_NAME
|
||||
#define BACKEND_NAME genesys_gl841
|
||||
#define DEBUG_DECLARE_ONLY
|
||||
|
||||
#include "genesys_gl841.h"
|
||||
|
||||
|
|
|
@ -42,8 +42,7 @@
|
|||
If you do not wish that, delete this exception notice.
|
||||
*/
|
||||
|
||||
#undef BACKEND_NAME
|
||||
#define BACKEND_NAME genesys_gl843
|
||||
#define DEBUG_DECLARE_ONLY
|
||||
|
||||
#include "genesys_gl843.h"
|
||||
|
||||
|
|
|
@ -46,8 +46,8 @@
|
|||
*
|
||||
* This file handles GL846 and GL845 ASICs since they are really close to each other.
|
||||
*/
|
||||
#undef BACKEND_NAME
|
||||
#define BACKEND_NAME genesys_gl846
|
||||
|
||||
#define DEBUG_DECLARE_ONLY
|
||||
|
||||
#include "genesys_gl846.h"
|
||||
|
||||
|
|
|
@ -42,8 +42,7 @@
|
|||
If you do not wish that, delete this exception notice.
|
||||
*/
|
||||
|
||||
#undef BACKEND_NAME
|
||||
#define BACKEND_NAME genesys_gl847
|
||||
#define DEBUG_DECLARE_ONLY
|
||||
|
||||
#include "genesys_gl847.h"
|
||||
|
||||
|
|
|
@ -41,8 +41,8 @@
|
|||
whether to permit this exception to apply to your modifications.
|
||||
If you do not wish that, delete this exception notice.
|
||||
*/
|
||||
#undef BACKEND_NAME
|
||||
#define BACKEND_NAME genesys_low
|
||||
|
||||
#define DEBUG_DECLARE_ONLY
|
||||
|
||||
#include "genesys_low.h"
|
||||
#include "assert.h"
|
||||
|
|
Ładowanie…
Reference in New Issue