# HG changeset patch # User mikael # Date 1114290756 0 # Node ID d896962c16fa14d1e6983ce67216122ad43c127b # Parent 3d41aca3d8788fe01e123cdcb98c9d3ed2824db2 [/trunk] Changeset 125 by mikael * Fix a bad interaction (namespace issue), using static functions. diff -r 3d41aca3d878 -r d896962c16fa mcabber/src/histolog.c --- 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;