* Copyright (C) 1995-2006, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: log.c,v 1.38 2006-07-31 10:05:04 adam Exp $
+ * $Id: log.c,v 1.39 2006-09-27 11:39:02 adam Exp $
*/
/**
#endif
-static int default_log_level() {
+static int default_log_level(void)
+{
char *env = getenv("YAZ_LOG");
if (env != 0)
return yaz_log_mask_str_x(env, YLOG_DEFAULT_LEVEL);
static unsigned int next_log_bit = YLOG_LAST_BIT<<1; /* first dynamic bit */
-static void init_mutex()
+static void init_mutex(void)
{
if (mutex_init_flag)
return;
return f;
}
-void yaz_log_close()
+void yaz_log_close(void)
{
if (yaz_file_type == use_file && yaz_global_log_file)
{