Mercurial > noffle
changeset 73:c874bd3c4bb8 noffle
[svn] Adjust consting
author | bears |
---|---|
date | Sat, 13 May 2000 16:35:17 +0100 |
parents | 78e2ae741240 |
children | c7df2cc65cc1 |
files | src/log.c src/log.h src/over.c src/over.h |
diffstat | 4 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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
--- 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;
--- 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 */