bday

diff bdengine.c @ 6:fc6e40f7bd5a

minor stuff
author meillo@marmaro.de
date Mon, 17 Dec 2007 16:31:40 +0100
parents 5af6bf2cb271
children
line diff
     1.1 --- a/bdengine.c	Mon Dec 17 15:09:03 2007 +0100
     1.2 +++ b/bdengine.c	Mon Dec 17 16:31:40 2007 +0100
     1.3 @@ -118,7 +118,6 @@
     1.4  const unsigned MLENDAT[]={31,-1,31,30,31,30,31,31,30,31,30,31};
     1.5  
     1.6  const struct _ftable FTABLE[] = {
     1.7 -	{"bir",F_TBIRTHDAY},
     1.8  	{"bd", F_TBIRTHDAY},
     1.9  	{"ann",F_TANNIVERSARY},
    1.10  	{"ev", F_TEVENT},
    1.11 @@ -258,7 +257,7 @@
    1.12  
    1.13  
    1.14  /* lists the birthdays in their string format, one by one, and passes the string to a function. */
    1.15 -void liststrings(struct event *evl, prnfunc outf) {
    1.16 +void liststrings(struct event* evl, prnfunc outf) {
    1.17  	int i,j;
    1.18  	char *buf, *tmp;
    1.19  	int size;
    1.20 @@ -450,6 +449,11 @@
    1.21  
    1.22  
    1.23  
    1.24 +
    1.25 +
    1.26 +
    1.27 +
    1.28 +
    1.29  struct event* readlist() {
    1.30  	int i, j, k, l, d;
    1.31  	struct event *evl;