svn commit: r204696 - user/edwin/ncal
Edwin Groothuis
edwin at FreeBSD.org
Thu Mar 4 06:55:10 UTC 2010
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);
More information about the svn-src-user
mailing list