diff options
author | Frederic Culot <calcurse@culot.org> | 2007-07-28 13:11:42 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2007-07-28 13:11:42 +0000 |
commit | 4b987f70ac463121f9791eb3493952a77aba495f (patch) | |
tree | 2754295b8dd40b6818ddd80d97a327329de854c0 /src/apoint.c | |
parent | fdc325acd8549acf0fb52c84b8074aef0c2c38c7 (diff) | |
download | calcurse-4b987f70ac463121f9791eb3493952a77aba495f.zip |
unuseful headers removed and some functions became static
Diffstat (limited to 'src/apoint.c')
-rwxr-xr-x | src/apoint.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/apoint.c b/src/apoint.c index e7789fd..dd3cbac 100755 --- a/src/apoint.c +++ b/src/apoint.c @@ -1,4 +1,4 @@ -/* $calcurse: apoint.c,v 1.12 2007/07/21 19:35:14 culot Exp $ */ +/* $calcurse: apoint.c,v 1.13 2007/07/28 13:11:42 culot Exp $ */ /* * Calcurse - text-based organizer @@ -24,7 +24,6 @@ * */ -#include <ncurses.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> @@ -403,7 +402,8 @@ void display_item_date(WINDOW *win, int incolor, apoint_llist_node_t *i, * the appointment panel. This is to help the appointment scroll function * to place beggining of the pad correctly. */ -int get_item_line(int item_nb, int nb_events_inday) +static int +get_item_line(int item_nb, int nb_events_inday) { int separator = 2; int line = 0; |