summaryrefslogtreecommitdiff
path: root/include/device
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-08 23:11:35 +0900
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-08 23:11:35 +0900
commitbe841794c557bbddea42164dbd3bb54b7506e7c5 (patch)
treefca6002e5251f9823bbb0f6fd87502fd9e9aa860 /include/device
parent6fbdbc6d7fe591592d32328a0066d3908143d6d4 (diff)
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.
Diffstat (limited to 'include/device')
-rw-r--r--include/device/device_types.h2
1 files changed, 2 insertions, 0 deletions
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 */