]> git.ozlabs.org Git - yaboot.git/blobdiff - include/file.h
Commit yaboot 1.3.4
[yaboot.git] / include / file.h
index 03c5c6fe3e40877d317237b17196503384cb8e7a..f395dc8b66fe3006d7a51be2c25564b4545b54ab 100644 (file)
@@ -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