mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Cleaned up.
This commit is contained in:
parent
d9f190c880
commit
1363910d86
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29510
@ -1,27 +1,16 @@
|
||||
/* usual BSD style copyright here */
|
||||
/* Written by Julian Elischer (julian@dialix.oz.au)*/
|
||||
/*
|
||||
* $Id$
|
||||
* $Id: devfsext.h,v 1.15 1997/02/22 09:44:59 peter Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_DEVFSECT_H_
|
||||
#define _SYS_DEVFSECT_H_ 1
|
||||
#define _SYS_DEVFSECT_H_
|
||||
|
||||
void *devfs_add_devswf(void *devsw,
|
||||
int minor,
|
||||
int chrblk,
|
||||
uid_t uid,
|
||||
gid_t gid,
|
||||
int perms,
|
||||
char *fmt,
|
||||
...) ;
|
||||
|
||||
void *devfs_link(void *original, /* the result of a previous dev_link */
|
||||
char *fmt, /* or dev_add operation */
|
||||
...);
|
||||
|
||||
/* remove the device the cookie represents */
|
||||
void devfs_remove_dev(void *devnmp);
|
||||
void *devfs_add_devswf __P((void *devsw, int minor, int chrblk, uid_t uid,
|
||||
gid_t gid, int perms, char *fmt, ...));
|
||||
void *devfs_link __P((void *original, char *fmt, ...));
|
||||
void devfs_remove_dev __P((void *devnmp));
|
||||
|
||||
#define DV_CHR 0
|
||||
#define DV_BLK 1
|
||||
@ -39,4 +28,4 @@ void devfs_remove_dev(void *devnmp);
|
||||
#define GID_BIN 7
|
||||
#define GID_DIALER 68
|
||||
|
||||
#endif /*_SYS_DEVFSECT_H_*/
|
||||
#endif /* !_SYS_DEVFSECT_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user