X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=include%2Ffile.h;h=f395dc8b66fe3006d7a51be2c25564b4545b54ab;hp=03c5c6fe3e40877d317237b17196503384cb8e7a;hb=da7857367944c983abf98f956241dcc614b2f453;hpb=8d5a42062f8b88eaea91434e53973ce9f55589d9 diff --git a/include/file.h b/include/file.h index 03c5c6f..f395dc8 100644 --- a/include/file.h +++ b/include/file.h @@ -31,10 +31,6 @@ struct boot_file_t; #define FILE_MAX_PATH 1024 -/* Device kind */ -#define FILE_DEVICE_BLOCK 1 -#define FILE_DEVICE_NET 2 - struct boot_fspec_t { char* dev; /* OF device path */ int part; /* Partition number or -1 */ @@ -69,16 +65,5 @@ extern int parse_device_path(char *imagepath, char *defdevice, int defpart, char *deffile, struct boot_fspec_t *result); -#if 0 -extern int validate_fspec( - struct boot_fspec_t* spec, - char* default_device, - int default_part); -extern char *parse_device_path( - char* of_device, - char** file_spec, - int* partition); -#endif - #endif