]> Pileus Git - lackey/blobdiff - src/date.h
Convert YEAR/MONTH/DAY to Selection struct
[lackey] / src / date.h
index 189cd173898072e8a5f76e9b6652f9c32bc95b61..a04d0dead46ce1be5835f173a9e378fd726e171d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012 Andy Spencer <andy753421@gmail.com>
+ * Copyright (C) 2012-2013 Andy Spencer <andy753421@gmail.com>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -57,9 +57,7 @@ typedef struct {
 } date_t;
 
 /* Global data */
-extern year_t  YEAR;
-extern month_t MONTH;
-extern day_t   DAY;
+extern date_t SEL; // date and time the user is looking at
 
 /* Initialize */
 void date_init(void);