summaryrefslogtreecommitdiff
path: root/src/include/OverloadMacros.h
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-06-23 09:13:31 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-06-23 09:13:31 +0000
commit193817db308f10a76b51ad9e7b6771497ff274dc (patch)
tree0927fe2538771d96c13e65a1a3e9f96061893859 /src/include/OverloadMacros.h
parentb058eb77e1b3356f14ddfab19d7e549581fb2ba3 (diff)
Changed the return value of the dummy overloadable routines back to 0, otherwise
get errors when the macros have a pointer as the return value. git-svn-id: http://svn.cactuscode.org/flesh/trunk@1696 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/OverloadMacros.h')
-rw-r--r--src/include/OverloadMacros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/OverloadMacros.h b/src/include/OverloadMacros.h
index 7cf05d7b..eb2ba190 100644
--- a/src/include/OverloadMacros.h
+++ b/src/include/OverloadMacros.h
@@ -62,7 +62,7 @@ extern RETURN_TYPE (*CCTK_##name)(ARGUMENTS);
RETURN_TYPE CCTKi_Dummy##name(ARGUMENTS) \
{ \
fprintf(stderr, "Dummy %s called.\n", #name); \
- return -1; \
+ return 0; \
}
/* This macro defines the prototype for a dummy function. */