changeset 111:d896962c16fa

[/trunk] Changeset 125 by mikael * Fix a bad interaction (namespace issue), using static functions.
author mikael
date Sat, 23 Apr 2005 21:12:36 +0000
parents 3d41aca3d878
children edb5591e2e64
files mcabber/src/histolog.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/histolog.c	Sat Apr 23 20:46:30 2005 +0000
+++ b/mcabber/src/histolog.c	Sat Apr 23 21:12:36 2005 +0000
@@ -33,7 +33,7 @@
 //  user_histo_file()
 // Returns history filename for the given jid
 // Note: the caller *must* free the filename after use (if not null).
-char *user_histo_file(const char *jid)
+static char *user_histo_file(const char *jid)
 {
   char *filename;
   if (!UseFileLogging)
@@ -47,8 +47,8 @@
 
 //  write()
 // Adds a history (multi-)line to the jid's history logfile
-void write(const char *jid,
-           time_t timestamp, guchar type, guchar info, char *data)
+static void write(const char *jid,
+        time_t timestamp, guchar type, guchar info, char *data)
 {
   guint len = 0;
   time_t ts;