Revision e598853e sysdep/unix/log.c

View differences:

sysdep/unix/log.c
163 163
 * It is essentially a sequence of log_reset(), logn() and log_commit().
164 164
 */
165 165
void
166
log_msg(char *msg, ...)
166
log_msg(const char *msg, ...)
167 167
{
168 168
  int class = 1;
169 169
  va_list args;
......
176 176
}
177 177

  
178 178
void
179
log_rl(struct tbf *f, char *msg, ...)
179
log_rl(struct tbf *f, const char *msg, ...)
180 180
{
181 181
  int last_hit = f->mark;
182 182
  int class = 1;
......
202 202
 * of the program.
203 203
 */
204 204
void
205
bug(char *msg, ...)
205
bug(const char *msg, ...)
206 206
{
207 207
  va_list args;
208 208

  
......
219 219
 * of the program.
220 220
 */
221 221
void
222
die(char *msg, ...)
222
die(const char *msg, ...)
223 223
{
224 224
  va_list args;
225 225

  
......
236 236
 * to the debugging output. No newline character is appended.
237 237
 */
238 238
void
239
debug(char *msg, ...)
239
debug(const char *msg, ...)
240 240
{
241 241
  va_list args;
242 242
  char buf[1024];

Also available in: Unified diff