From 4d2f56daf68e1765433815ba51b51c5982ab80f5 Mon Sep 17 00:00:00 2001 From: Philip Homburg Date: Tue, 7 Aug 2007 11:59:02 +0000 Subject: [PATCH] Added prototype for mapdriver5 (from RS to VFS, report the name of a driver instead of its endpoint). --- include/unistd.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/unistd.h b/include/unistd.h index 3e43c2f1a..6db28e80f 100755 --- a/include/unistd.h +++ b/include/unistd.h @@ -198,6 +198,8 @@ _PROTOTYPE( int freemem, (phys_bytes size, phys_bytes base) ); #define unmapdriver(device) devctl(DEV_UNMAP, 0, device, 0) _PROTOTYPE( int devctl, (int ctl_req, int driver, int device, int style, int force) ); +_PROTOTYPE( int mapdriver5, (char *label, size_t len, int major, + int style, int force) ); _PROTOTYPE( uid_t getpeuid, (endpoint_t ep) ); /* For compatibility with other Unix systems */