From owner-svn-src-head@FreeBSD.ORG Thu Dec 17 08:41:06 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBB3A1065679; Thu, 17 Dec 2009 08:41:06 +0000 (UTC) (envelope-from rse@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id BB76F8FC20; Thu, 17 Dec 2009 08:41:06 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nBH8f6tt025997; Thu, 17 Dec 2009 08:41:06 GMT (envelope-from rse@svn.freebsd.org) Received: (from rse@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nBH8f6Vt025995; Thu, 17 Dec 2009 08:41:06 GMT (envelope-from rse@svn.freebsd.org) Message-Id: <200912170841.nBH8f6Vt025995@svn.freebsd.org> From: "Ralf S. Engelschall" Date: Thu, 17 Dec 2009 08:41:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r200627 - head/usr.bin/calendar X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 08:41:06 -0000 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