From 315b33540a008fba0af1cdbad5d3448d98a6e73c Mon Sep 17 00:00:00 2001
From: Lukas Fleischer <calcurse@cryptocrack.de>
Date: Fri, 20 Apr 2012 23:10:22 +0200
Subject: Mark several functions static

These are not needed outside of the corresponding compilation units.
Spotted with "-Wmissing-prototypes".

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
---
 src/config.c | 2 +-
 src/ical.c   | 2 +-
 src/io.c     | 2 +-
 src/sha1.c   | 2 +-
 src/todo.c   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/config.c b/src/config.c
index 51a0792..30c98e1 100644
--- a/src/config.c
+++ b/src/config.c
@@ -327,7 +327,7 @@ config_serialize_str (char *dest, const char *val)
  * If ncurses library was compiled with --enable-ext-funcs,
  * then default color is -1.
  */
-void
+static void
 config_color_theme_name (char *theme_name)
 {
 #define MAXCOLORS		8
diff --git a/src/ical.c b/src/ical.c
index 30e155f..d646072 100644
--- a/src/ical.c
+++ b/src/ical.c
@@ -828,7 +828,7 @@ ical_add_exc (llist_t *exc_head, long date)
  * This property defines the list of date/time exceptions for a
  * recurring calendar component.
  */
-void
+static void
 ical_read_exdate (llist_t *exc, FILE *log, char *exstr, unsigned *noskipped,
                   const int itemline)
 {
diff --git a/src/io.c b/src/io.c
index 2067dd0..7f8565a 100644
--- a/src/io.c
+++ b/src/io.c
@@ -324,7 +324,7 @@ io_extract_data (char *dst_data, const char *org, int len)
   *dst_data = '\0';
 }
 
-void
+static void
 display_mark (void)
 {
   const int DISPLAY_TIME = 1;
diff --git a/src/sha1.c b/src/sha1.c
index 08d5e5e..e1bb8cc 100644
--- a/src/sha1.c
+++ b/src/sha1.c
@@ -67,7 +67,7 @@
 #define R4(v, w, x, y, z, i) z += (w ^ x ^ y) + blk (i) + 0xCA62C1D6 + \
     rol (v, 5); w = rol (w, 30);
 
-void
+static void
 sha1_transform (uint32_t state[5], const uint8_t buffer[64])
 {
   typedef union {
diff --git a/src/todo.c b/src/todo.c
index 7419222..27e9c36 100644
--- a/src/todo.c
+++ b/src/todo.c
@@ -506,7 +506,7 @@ todo_pipe_item (void)
   wins_unprepare_external ();
 }
 
-void
+static void
 todo_free (struct todo *todo)
 {
   mem_free (todo->mesg);
-- 
cgit v1.2.3-70-g09d2