diff birthday.h @ 5:5af6bf2cb271

reads only stdin now, no files anymore; removed -f option aswell; code beatifing
author meillo@marmaro.de
date Mon, 17 Dec 2007 15:09:03 +0100
parents 5326c222cd4e
children fc6e40f7bd5a
line wrap: on
line diff
--- a/birthday.h	Mon Dec 17 12:14:41 2007 +0100
+++ b/birthday.h	Mon Dec 17 15:09:03 2007 +0100
@@ -25,16 +25,14 @@
    $Id: birthday.h,v 1.6 1999/04/25 14:01:29 andy Exp $
 */
 
-/* ========== Configuration section */
+#include <stdio.h>
 
-#define DEFAULT_FILE ".birthdays"
+/* ========== Configuration section */
 
 /* standard time to warn in advance, when no explicit w flag is given. */
-#define DEF_WARN 21
+#define DEF_WARN 14
 
-/* ========== Required includes */
 
-#include <stdio.h>
 
 /* ========== Global constants and data types */
 
@@ -81,7 +79,7 @@
 
 /* ========== */
 
-struct event *readlist(char *fname);
+struct event* readlist(void);
 void gettoday(void);
 unsigned delta(struct date *);
 unsigned ddiff(struct date *D1, struct date *D2);