summaryrefslogtreecommitdiff
path: root/backend/plustek-pp.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-02-16 10:20:08 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-02-16 10:20:08 +0100
commit778ebf8ee9cb22ea5727844333bcd5a6ee6bc0de (patch)
treea754e785b286ed82b45fe4e50b980714ad80e0a7 /backend/plustek-pp.h
parent7d8aac1f3634dc58785bec7acf097dd6bac8c394 (diff)
parent32cb765f681299af226ca0520993cbe47ba5ecd0 (diff)
Merge branch 'release/debian/1.2.1-1'debian/1.2.1-1
Diffstat (limited to 'backend/plustek-pp.h')
-rw-r--r--backend/plustek-pp.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/backend/plustek-pp.h b/backend/plustek-pp.h
index 447065b..4c0b0f4 100644
--- a/backend/plustek-pp.h
+++ b/backend/plustek-pp.h
@@ -235,11 +235,7 @@ typedef const struct mode_param
#define _E_SEQUENCE (_FIRST_ERR-30) /* caller sequence does not match */
#define _E_NO_ASIC (_FIRST_ERR-31) /* can't detect ASIC */
-#ifdef __KERNEL__
-# define _E_FAULT (-EFAULT)
-#else
# define _E_FAULT (_E_INTERNAL) /* should never happen in userspace */
-#endif
#define _E_LAMP_NOT_IN_POS (_FIRST_ERR-40)
#define _E_LAMP_NOT_STABLE (_FIRST_ERR-41)
@@ -471,10 +467,6 @@ typedef struct {
#define _ScanMode_AverageOut 1 /* CCD averaged 2 pixels value for output*/
#define _ScanMode_Mono 2 /* not color mode */
-
-#ifndef __KERNEL__
-
-
#define PLUSTEK_CONFIG_FILE "plustek_pp.conf"
#ifndef PATH_MAX
@@ -631,7 +623,6 @@ typedef struct {
AdjDef adj;
} CnfDef, *pCnfDef;
-#endif /* guard __KERNEL__ */
#endif /* guard __PLUSTEKPP_H__ */