#include <sys/appleapiopts.h>
-#ifdef __APPLE_API_UNSTABLE
#define DEVFS_CHAR 0
#define DEVFS_BLOCK 1
* Returns:
* A handle to a device node if successful, NULL otherwise.
*/
-void * devfs_make_node __P((dev_t dev, int chrblk, uid_t uid, gid_t gid,
- int perms, char *fmt, ...));
+void * devfs_make_node(dev_t dev, int chrblk, uid_t uid, gid_t gid,
+ int perms, const char *fmt, ...);
+#ifdef BSD_KERNEL_PRIVATE
/*
* Function: devfs_make_link
*
* Returns:
* 0 if successful, -1 if failed
*/
-int devfs_link __P((void * handle, char *fmt, ...));
+int devfs_link(void * handle, char *fmt, ...);
+#endif /* BSD_KERNEL_PRIVATE */
/*
* Function: devfs_remove
* Remove the device node returned by devfs_make_node() along with
* any links created with devfs_make_link().
*/
-void devfs_remove __P((void * handle));
+void devfs_remove(void * handle);
__END_DECLS
-#endif /* __APPLE_API_UNSTABLE */
#ifdef __APPLE_API_PRIVATE
/* XXX */