From be841794c557bbddea42164dbd3bb54b7506e7c5 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 8 Dec 2013 23:11:35 +0900 Subject: Fix implicit declaration of function Thanks Marin Ramesa for the report. * device/ds_routines.h (device_deallocate): Move declaration to... * include/device/device_types.h (device_deallocate): ... here. --- include/device/device_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/device') diff --git a/include/device/device_types.h b/include/device/device_types.h index caf4fc0..a6db051 100644 --- a/include/device/device_types.h +++ b/include/device/device_types.h @@ -135,4 +135,6 @@ typedef int io_return_t; #define D_NO_MEMORY 2508 /* memory allocation failure */ #define D_READ_ONLY 2509 /* device cannot be written to */ +void device_deallocate(device_t); + #endif /* DEVICE_TYPES_H */ -- cgit v1.2.3