From 6a4d2778a2e0ead8754eb8b2ae1b8a57d94de4d6 Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Sat, 24 May 2014 18:52:30 +0200 Subject: [PATCH] error: fix compilation Signed-off-by: Olivier Matz --- modules/debug/error/error.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/modules/debug/error/error.c b/modules/debug/error/error.c index c2cf970..3202077 100644 --- a/modules/debug/error/error.c +++ b/modules/debug/error/error.c @@ -1,6 +1,6 @@ -/* +/* * Copyright Droids Corporation, Microb Technology, Eirbot (2005) - * + * * 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 @@ -41,9 +41,13 @@ void error_init(void) } -struct error error_generate(uint8_t num, uint8_t severity, PGM_P t, - PGM_P f, uint16_t l) { - struct error e; +struct error error_generate(uint8_t num, uint8_t severity, PGM_P t, + PGM_P f, uint16_t l) +{ + struct error e; + + (void)f; + (void)l; e.err_num = num; e.severity = severity; -- 2.39.5