=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sndiod/midi.h,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/sndiod/midi.h 2012/11/30 20:30:24 1.2 --- src/usr.bin/sndiod/midi.h 2012/11/30 20:48:00 1.3 *************** *** 1,4 **** ! /* $OpenBSD: midi.h,v 1.2 2012/11/30 20:30:24 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * --- 1,4 ---- ! /* $OpenBSD: midi.h,v 1.3 2012/11/30 20:48:00 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * *************** *** 89,95 **** unsigned int state; char *path; struct midi *midi; - unsigned int refs; }; /* --- 89,94 ---- *************** *** 113,118 **** --- 112,119 ---- struct port *port_new(char *, unsigned int); struct port *port_bynum(int); void port_del(struct port *); + int port_ref(struct port *); + void port_unref(struct port *); int port_init(struct port *); void port_done(struct port *); int port_close(struct port *);