diff options
author | rsc <devnull@localhost> | 2005-01-04 21:18:08 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-04 21:18:08 +0000 |
commit | 1a0954abb80f92cd9940a21f11dd8f3a84518579 (patch) | |
tree | 44f2c6af204a0143f6d062b256008b372456f1d0 /include/disk.h | |
parent | 66ed321edf44a9465d011a3e54d60a6c32fc166f (diff) | |
download | plan9port-1a0954abb80f92cd9940a21f11dd8f3a84518579.tar.gz plan9port-1a0954abb80f92cd9940a21f11dd8f3a84518579.tar.bz2 plan9port-1a0954abb80f92cd9940a21f11dd8f3a84518579.zip |
autolib
Diffstat (limited to 'include/disk.h')
-rw-r--r-- | include/disk.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/include/disk.h b/include/disk.h index a887866e..7e1d35a2 100644 --- a/include/disk.h +++ b/include/disk.h @@ -1,6 +1,13 @@ -#pragma src "/sys/src/libdisk" -#pragma lib "libdisk.a" +#ifndef _DISK_H_ +#define _DISK_H_ 1 +#if defined(__cplusplus) +extern "C" { +#endif + +AUTOLIB(disk) + +#if 0 /* SCSI interface */ typedef struct Scsi Scsi; struct Scsi { @@ -58,8 +65,14 @@ enum { Gdisk, Gguess, }; +#endif /* proto file parsing */ typedef void Protoenum(char *new, char *old, Dir *d, void *a); typedef void Protowarn(char *msg, void *a); int rdproto(char*, char*, Protoenum*, Protowarn*, void*); + +#if defined(__cplusplus) +} +#endif +#endif |