Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Mar 2010 06:55:10 +0000 (UTC)
From:      Edwin Groothuis <edwin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r204696 - user/edwin/ncal
Message-ID:  <201003040655.o246tAUI097643@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: edwin
Date: Thu Mar  4 06:55:10 2010
New Revision: 204696
URL: http://svn.freebsd.org/changeset/base/204696

Log:
  Remove my chanes to the Makefile, not needed anymore.
  Cleanup prototypes.

Modified:
  user/edwin/ncal/Makefile
  user/edwin/ncal/ncal.c

Modified: user/edwin/ncal/Makefile
==============================================================================
--- user/edwin/ncal/Makefile	Thu Mar  4 06:43:41 2010	(r204695)
+++ user/edwin/ncal/Makefile	Thu Mar  4 06:55:10 2010	(r204696)
@@ -4,10 +4,9 @@ PROG=	ncal
 
 DPADD=	${LIBCALENDAR} ${LIBTERMCAP}
 LDADD=	-lcalendar -ltermcap
-CFLAGS+= -Wall -O0
 WARNS?=	6
 
-#LINKS=	${BINDIR}/ncal ${BINDIR}/cal
+LINKS=	${BINDIR}/ncal ${BINDIR}/cal
 MLINKS=	ncal.1 cal.1
 
 .include <bsd.prog.mk>

Modified: user/edwin/ncal/ncal.c
==============================================================================
--- user/edwin/ncal/ncal.c	Thu Mar  4 06:43:41 2010	(r204695)
+++ user/edwin/ncal/ncal.c	Thu Mar  4 06:55:10 2010	(r204696)
@@ -168,16 +168,16 @@ int	today;
 char	*center(char *s, char *t, int w);
 wchar_t *wcenter(wchar_t *s, wchar_t *t, int w);
 void	mkmonthr(int year, int month, int jd_flag, struct monthlines * monthl);
-void    mkmonthb(int year, int month, int jd_flag, struct monthlines * monthl);
-void    mkweekdays(struct weekdays * wds);
-int     parsemonth(const char *s, int *m, int *y);
-void    printcc(void);
-void    printeaster(int year, int julian, int orthodox);
+void	mkmonthb(int year, int month, int jd_flag, struct monthlines * monthl);
+void	mkweekdays(struct weekdays * wds);
+int	parsemonth(const char *s, int *m, int *y);
+void	printcc(void);
+void	printeaster(int year, int julian, int orthodox);
 int	firstday(int y, int m);
 date	*sdater(int ndays, struct date * d);
 date	*sdateb(int ndays, struct date * d);
-int     sndaysr(struct date * d);
-int     sndaysb(struct date * d);
+int	sndaysr(struct date * d);
+int	sndaysb(struct date * d);
 static void	usage(void);
 void	monthranger(int year, int jd_flag, int m, int before, int after);
 void	monthrangeb(int year, int jd_flag, int m, int before, int after);



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