[sane-devel] [PATCH 2/4] cleanup, remove all unused PATH_SEP defines
Ruediger Meier
sweet_f_a at gmx.de
Sun Jan 15 14:47:33 UTC 2012
From: Ruediger Meier <ruediger.meier at ga-group.nl>
---
backend/canon_dr.h | 8 --------
backend/cardscan.h | 8 --------
backend/epjitsu.h | 8 --------
backend/fujitsu.h | 8 --------
backend/kodak.h | 8 --------
5 files changed, 0 insertions(+), 40 deletions(-)
diff --git a/backend/canon_dr.h b/backend/canon_dr.h
index b1a05c1..f7240c3 100644
--- a/backend/canon_dr.h
+++ b/backend/canon_dr.h
@@ -433,14 +433,6 @@ enum {
# define PATH_MAX 1024
#endif
-#ifndef PATH_SEP
-#ifdef HAVE_OS2_H
-# define PATH_SEP '\\'
-#else
-# define PATH_SEP '/'
-#endif
-#endif
-
/* -------------------------------------------------------------------------
*/
SANE_Status sane_init (SANE_Int * version_code, SANE_Auth_Callback
authorize);
diff --git a/backend/cardscan.h b/backend/cardscan.h
index d4f9802..a673dc6 100644
--- a/backend/cardscan.h
+++ b/backend/cardscan.h
@@ -133,14 +133,6 @@ struct scanner
# define PATH_MAX 1024
#endif
-#ifndef PATH_SEP
-#ifdef HAVE_OS2_H
-# define PATH_SEP '\\'
-#else
-# define PATH_SEP '/'
-#endif
-#endif
-
/* -------------------------------------------------------------------------
*/
SANE_Status sane_init (SANE_Int * version_code, SANE_Auth_Callback
authorize);
diff --git a/backend/epjitsu.h b/backend/epjitsu.h
index 53642da..ed63504 100644
--- a/backend/epjitsu.h
+++ b/backend/epjitsu.h
@@ -292,14 +292,6 @@ struct scanner
# define PATH_MAX 1024
#endif
-#ifndef PATH_SEP
-#ifdef HAVE_OS2_H
-# define PATH_SEP '\\'
-#else
-# define PATH_SEP '/'
-#endif
-#endif
-
/* -------------------------------------------------------------------------
*/
SANE_Status sane_init (SANE_Int * version_code, SANE_Auth_Callback
authorize);
diff --git a/backend/fujitsu.h b/backend/fujitsu.h
index 1bfd300..5c97275 100644
--- a/backend/fujitsu.h
+++ b/backend/fujitsu.h
@@ -662,14 +662,6 @@ struct fujitsu
# define PATH_MAX 1024
#endif
-#ifndef PATH_SEP
-#ifdef HAVE_OS2_H
-# define PATH_SEP '\\'
-#else
-# define PATH_SEP '/'
-#endif
-#endif
-
/* -------------------------------------------------------------------------
*/
SANE_Status sane_init (SANE_Int * version_code, SANE_Auth_Callback
authorize);
diff --git a/backend/kodak.h b/backend/kodak.h
index 9de427b..ea2a3e4 100644
--- a/backend/kodak.h
+++ b/backend/kodak.h
@@ -198,14 +198,6 @@ struct scanner
# define PATH_MAX 1024
#endif
-#ifndef PATH_SEP
-#ifdef HAVE_OS2_H
-# define PATH_SEP '\\'
-#else
-# define PATH_SEP '/'
-#endif
-#endif
-
/* -------------------------------------------------------------------------
*/
SANE_Status sane_init (SANE_Int * version_code, SANE_Auth_Callback
authorize);
--
1.7.6.1
More information about the sane-devel
mailing list