summaryrefslogtreecommitdiff
path: root/backend/gt68xx_low.h
diff options
context:
space:
mode:
Diffstat (limited to 'backend/gt68xx_low.h')
-rw-r--r--backend/gt68xx_low.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/backend/gt68xx_low.h b/backend/gt68xx_low.h
index 68cd7c5..0743230 100644
--- a/backend/gt68xx_low.h
+++ b/backend/gt68xx_low.h
@@ -73,9 +73,6 @@
/* return if an error occured while the function was called */
#ifdef MAX_DEBUG
-# ifndef __FUNCTION__
-# define __FUNCTION__ "somewhere"
-# endif
# define RIE(function) \
do \
@@ -83,7 +80,7 @@
status = function; \
if (status != SANE_STATUS_GOOD) \
{ \
- DBG (7, "%s: %s: %s\n", __FUNCTION__, STRINGIFY(function), \
+ DBG (7, "%s: %s: %s\n", __func__, STRINGIFY(function), \
sane_strstatus (status)); \
return status; \
} \