From 6a9e3eacd35299d6c8a60b45325ce49648f3a611 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/program@989 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_gfx.c | 4 ++-- src/rrd_rpncalc.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rrd_gfx.c b/src/rrd_gfx.c index 351f958..789ca95 100644 --- a/src/rrd_gfx.c +++ b/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/src/rrd_rpncalc.c b/src/rrd_rpncalc.c index f8759f8..a5ab61f 100644 --- a/src/rrd_rpncalc.c +++ b/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