From 38ce2633f8fd8fb47ffd93415a167f782d77a2de Mon Sep 17 00:00:00 2001 From: oetiker Date: Fri, 2 Feb 2007 12:19:12 +0000 Subject: [PATCH] increasse portability (no // comment, no ... arguments for cpp) git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@989 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_gfx.c | 4 ++-- program/src/rrd_rpncalc.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/program/src/rrd_gfx.c b/program/src/rrd_gfx.c index 351f9582..789ca95c 100644 --- a/program/src/rrd_gfx.c +++ b/program/src/rrd_gfx.c @@ -1,4 +1,4 @@ -/**************************************************************************** +**************************************************************************** * RRDtool 1.2.19 Copyright by Tobi Oetiker, 1997-2007 **************************************************************************** * rrd_gfx.c graphics wrapper for rrdtool @@ -13,7 +13,7 @@ # ifdef DEBUG # define DPRINTF(...) fprintf(stderr, __VA_ARGS__); # else -# define DPRINTF(...) +# define DPRINTF() # endif /* DEBUG */ #endif /* _MSC_VER */ #include "rrd_tool.h" diff --git a/program/src/rrd_rpncalc.c b/program/src/rrd_rpncalc.c index f8759f8d..a5ab61f9 100644 --- a/program/src/rrd_rpncalc.c +++ b/program/src/rrd_rpncalc.c @@ -771,7 +771,7 @@ rpn_calc(rpnp_t *rpnp, rpnstack_t *rpnstack, long data_idx, count++; sum+=val; } - // now push the result bavk on stack + /* now push the result back on stack */ if (count>0) { rpnstack -> s[++stptr]=sum/count; } else { -- 2.30.2