Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2009 08:41:06 +0000 (UTC)
From:      "Ralf S. Engelschall" <rse@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r200627 - head/usr.bin/calendar
Message-ID:  <200912170841.nBH8f6Vt025995@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rse
Date: Thu Dec 17 08:41:06 2009
New Revision: 200627
URL: http://svn.freebsd.org/changeset/base/200627

Log:
  DEBUG is either defined or not defined for the 'calender' sources, so use #ifdef and not just #if -- both to be semantically correct and also to be aligned with the rest of the 'calendar' sources

Modified:
  head/usr.bin/calendar/ostern.c

Modified: head/usr.bin/calendar/ostern.c
==============================================================================
--- head/usr.bin/calendar/ostern.c	Thu Dec 17 08:37:02 2009	(r200626)
+++ head/usr.bin/calendar/ostern.c	Thu Dec 17 08:41:06 2009	(r200627)
@@ -87,7 +87,7 @@ geteaster(char *s, int year)
 	else
 		return (0);
 
-#if DEBUG
+#ifdef DEBUG
 	printf("%s %d %d\n", s, year, EASTERNAMELEN);
 #endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912170841.nBH8f6Vt025995>