diff options
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 |