=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sndiod/dev.h,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- src/usr.bin/sndiod/dev.h 2018/06/26 07:44:35 1.20 +++ src/usr.bin/sndiod/dev.h 2019/07/12 06:30:55 1.21 @@ -1,4 +1,4 @@ -/* $OpenBSD: dev.h,v 1.20 2018/06/26 07:44:35 ratchov Exp $ */ +/* $OpenBSD: dev.h,v 1.21 2019/07/12 06:30:55 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * @@ -89,6 +89,7 @@ unsigned int unit; /* instance of name */ unsigned int serial; /* global unique number */ unsigned int vol; /* current (midi) volume */ + unsigned int id; /* process id */ }; struct opt { @@ -231,7 +232,7 @@ * sio_open(3) like interface for clients */ void slot_log(struct slot *); -struct slot *slot_new(struct dev *, struct opt *, char *, +struct slot *slot_new(struct dev *, struct opt *, unsigned int, char *, struct slotops *, void *, int); void slot_del(struct slot *); void slot_setvol(struct slot *, unsigned int);