# HG changeset patch # User bears # Date 958232117 -3600 # Node ID c874bd3c4bb8e827b9e826f020583e1b7948ed04 # Parent 78e2ae7412409cbe8d919e62ea0055768f29fba5 [svn] Adjust consting diff -r 78e2ae741240 -r c874bd3c4bb8 src/log.c --- a/src/log.c Sat May 13 16:34:15 2000 +0100 +++ b/src/log.c Sat May 13 16:35:17 2000 +0100 @@ -1,7 +1,7 @@ /* log.c - $Id: log.c 60 2000-05-09 22:28:38Z uh1763 $ + $Id: log.c 79 2000-05-13 15:35:17Z bears $ */ #if HAVE_CONFIG_H @@ -22,7 +22,7 @@ } log = { FALSE }; void -Log_init( Str name, Bool interactive, int facility ) +Log_init( const char *name, Bool interactive, int facility ) { int option = LOG_PID | LOG_CONS; diff -r 78e2ae741240 -r c874bd3c4bb8 src/log.h --- a/src/log.h Sat May 13 16:34:15 2000 +0100 +++ b/src/log.h Sat May 13 16:35:17 2000 +0100 @@ -3,7 +3,7 @@ Print log messages to syslog, stdout/stderr. - $Id: log.h 51 2000-05-05 23:49:38Z uh1763 $ + $Id: log.h 79 2000-05-13 15:35:17Z bears $ */ #ifndef LOG_H @@ -22,7 +22,7 @@ facility: like syslog */ void -Log_init( Str name, Bool interactive, int facility ); +Log_init( const char *name, Bool interactive, int facility ); /* Log level info */ void diff -r 78e2ae741240 -r c874bd3c4bb8 src/over.c --- a/src/over.c Sat May 13 16:34:15 2000 +0100 +++ b/src/over.c Sat May 13 16:35:17 2000 +0100 @@ -1,7 +1,7 @@ /* over.c - $Id: over.c 60 2000-05-09 22:28:38Z uh1763 $ + $Id: over.c 79 2000-05-13 15:35:17Z bears $ */ #if HAVE_CONFIG_H @@ -45,7 +45,7 @@ Over * new_Over( const char *subj, const char *from, - const char *date, const char *msgId, char *ref, + const char *date, const char *msgId, const char *ref, size_t bytes, size_t lines ) { Over *ov; diff -r 78e2ae741240 -r c874bd3c4bb8 src/over.h --- a/src/over.h Sat May 13 16:34:15 2000 +0100 +++ b/src/over.h Sat May 13 16:35:17 2000 +0100 @@ -5,7 +5,7 @@ content.c. An article overview contains important article properties, such as date, from, subject. - $Id: over.h 60 2000-05-09 22:28:38Z uh1763 $ + $Id: over.h 79 2000-05-13 15:35:17Z bears $ */ #ifndef OVER_H @@ -37,7 +37,7 @@ */ Over * new_Over( const char *subj, const char *from, const char *date, - const char *msgId, char *ref, size_t bytes, size_t lines ); + const char *msgId, const char *ref, size_t bytes, size_t lines ); /* free memory */