-/*
- * Copyright (C) 1995-2005, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2012 Index Data
* See the file LICENSE for details.
- *
- * $Id: test.c,v 1.10 2006-07-07 13:39:04 heikki Exp $
*/
/** \file test.c
static const char *test_prog = 0;
static int log_tests = 0;
-static FILE *get_file()
+static FILE *get_file(void)
{
if (test_fout)
return test_fout;
}
if (printit)
{
- fprintf(get_file(), "%s:%d %s: ", file, line, msg);
+ fprintf(get_file(), "%s:%d: %s: ", file, line, msg);
fprintf(get_file(), "%s\n", expr);
}
if (log_tests)
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab