mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 12:28:58 +00:00
Fixed the type of sscstrategy() (return void).
Removed sscdump() (it was never used). Removed sscpsize() (it was never used, and returned a bogus value (ENXIO = 6 means a size of 6)).
This commit is contained in:
parent
cf17f935f1
commit
dd1642c2c4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12066
@ -49,7 +49,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*End copyright
|
||||
* $Id: ssc.c,v 1.2 1995/01/08 15:56:09 dufault Exp $
|
||||
* $Id: ssc.c,v 1.3 1995/05/03 18:09:18 dufault Exp $
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -112,9 +112,7 @@ int sscioctl(dev_t dev, int cmd, caddr_t data, int fflag, struct proc *p)
|
||||
* really is no good reason other than I'm not sure how you would use
|
||||
* them.
|
||||
*/
|
||||
int sscstrategy(struct buf *bp) { return ENXIO; }
|
||||
int sscdump(dev_t dev) { return ENXIO; }
|
||||
int sscpsize(dev_t dev) { return ENXIO; }
|
||||
void sscstrategy(struct buf *bp) { }
|
||||
int sscread(dev_t dev, struct uio *uio, int ioflag) { return ENXIO; }
|
||||
int sscwrite(dev_t dev, struct uio *uio, int ioflag) { return ENXIO; }
|
||||
int sscselect(dev_t dev, int which, struct proc *p) { return ENXIO; }
|
||||
|
Loading…
Reference in New Issue
Block a user