X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsrc%2Fauths%2Fcall_radius.c;h=2064ed2215e24833e28f7c3a22ce5e4944c155f8;hb=b50c8b8487f906a7e18580e9020783afde09d9f7;hp=4bbe6d754bc39d281e7a5043b2a1fc79b699a138;hpb=3634fc257bd0667daef14d72005cd87c735bbb24;p=exim.git diff --git a/src/src/auths/call_radius.c b/src/src/auths/call_radius.c index 4bbe6d754..2064ed221 100644 --- a/src/src/auths/call_radius.c +++ b/src/src/auths/call_radius.c @@ -20,10 +20,12 @@ RADIUS_CONFIG_FILE is defined. However, some compilers don't like compiling empty modules, so keep them happy with a dummy when skipping the rest. Make it reference itself to stop picky compilers complaining that it is unused, and put in a dummy argument to stop even pickier compilers complaining about infinite -loops. */ +loops. Then use a mutually-recursive pair as gcc is just getting stupid. */ #ifndef RADIUS_CONFIG_FILE -static void dummy(int x) { dummy(x-1); } +static void dummy(int x); +static void dummy2(int x) { dummy(x-1); } +static void dummy(int x) { dummy2(x-1); } #else /* RADIUS_CONFIG_FILE */