Mercurial > noffle
comparison src/log.c @ 73:c874bd3c4bb8 noffle
[svn] Adjust consting
author | bears |
---|---|
date | Sat, 13 May 2000 16:35:17 +0100 |
parents | 125d79c9e586 |
children | fed1334d766b |
comparison
equal
deleted
inserted
replaced
72:78e2ae741240 | 73:c874bd3c4bb8 |
---|---|
1 /* | 1 /* |
2 log.c | 2 log.c |
3 | 3 |
4 $Id: log.c 60 2000-05-09 22:28:38Z uh1763 $ | 4 $Id: log.c 79 2000-05-13 15:35:17Z bears $ |
5 */ | 5 */ |
6 | 6 |
7 #if HAVE_CONFIG_H | 7 #if HAVE_CONFIG_H |
8 #include <config.h> | 8 #include <config.h> |
9 #endif | 9 #endif |
20 { | 20 { |
21 Bool interactive; | 21 Bool interactive; |
22 } log = { FALSE }; | 22 } log = { FALSE }; |
23 | 23 |
24 void | 24 void |
25 Log_init( Str name, Bool interactive, int facility ) | 25 Log_init( const char *name, Bool interactive, int facility ) |
26 { | 26 { |
27 int option = LOG_PID | LOG_CONS; | 27 int option = LOG_PID | LOG_CONS; |
28 | 28 |
29 log.interactive = interactive; | 29 log.interactive = interactive; |
30 openlog( name, option, facility ); | 30 openlog( name, option, facility ); |