*
* Copyright (C) 2011 Hugo Villeneuve <hugo@hugovil.com>
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * This file is released under the GPLv2
*/
#include "config.h"
-#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
log_prefix_package_name(stream, "debug");
va_start(ap, format);
- vfprintf(stream, format, ap);
+ (void) vfprintf(stream, format, ap);
va_end(ap);
log_suffix_newline(stream);
log_prefix_package_name(stream, "info");
va_start(ap, format);
- vfprintf(stream, format, ap);
+ (void) vfprintf(stream, format, ap);
va_end(ap);
log_suffix_newline(stream);
log_prefix_package_name(stream, "warn");
va_start(ap, format);
- vfprintf(stream, format, ap);
+ (void) vfprintf(stream, format, ap);
va_end(ap);
log_suffix_newline(stream);
log_prefix_package_name(stream, "error");
va_start(ap, format);
- vfprintf(stream, format, ap);
+ (void) vfprintf(stream, format, ap);
va_end(ap);
log_suffix_newline(stream);
log_prefix_package_name(stream, "error");
va_start(ap, format);
- vfprintf(stream, format, ap);
+ (void) vfprintf(stream, format, ap);
va_end(ap);
log_suffix_newline(stream);