From c1aa462b9cecd5d3e6010395f210e44ddafe632b Mon Sep 17 00:00:00 2001 From: schodet Date: Sat, 8 Oct 2005 13:58:07 +0000 Subject: Utilise le module host. --- n/avr/modules/utils/utils.host.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'n/avr/modules/utils/utils.host.c') diff --git a/n/avr/modules/utils/utils.host.c b/n/avr/modules/utils/utils.host.c index fcc93bf..8d2be82 100644 --- a/n/avr/modules/utils/utils.host.c +++ b/n/avr/modules/utils/utils.host.c @@ -22,14 +22,12 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * }}} */ -#define _GNU_SOURCE #include "utils.h" +#include "modules/host/host.h" #include #include #include -#include -#include /** Delay in seconds. */ void @@ -47,8 +45,6 @@ utils_delay (double s) void utils_reset (void) { - execlp (program_invocation_name, program_invocation_name, 0); - assert_perror (errno); - abort (); + host_reset (); } -- cgit v1.2.3