X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=second%2Ffs_iso.c;h=33d43b3e86d1fdaef162b8deb410e51578c19203;hp=2fe3df1a01d9fe8f8651ce3fb67b55bedf9c7d37;hb=8eded8e93dd9a523e40d48f1cc04195a92ea0703;hpb=0ef1539b6f680ba09c88be5bb94a821fd2599931 diff --git a/second/fs_iso.c b/second/fs_iso.c index 2fe3df1..33d43b3 100644 --- a/second/fs_iso.c +++ b/second/fs_iso.c @@ -1,20 +1,22 @@ -/* iso9660 filesystem (placeholder) - - Copyright (C) 1999 Benjamin Herrenschnidt - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +/* + * fs_iso.c - a non-implementation for the ISO9660 filesystem + * + * Copyright (C) 1999 Benjamin Herrenschnidt + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ #include "ctype.h" #include "types.h" @@ -27,9 +29,8 @@ #include "errors.h" static int iso_open( struct boot_file_t* file, - const char* dev_name, struct partition_t* part, - const char* file_name); + struct boot_fspec_t* fspec); static int iso_read( struct boot_file_t* file, unsigned int size, void* buffer); @@ -48,9 +49,8 @@ struct fs_t iso_filesystem = static int iso_open( struct boot_file_t* file, - const char* dev_name, struct partition_t* part, - const char* file_name) + struct boot_fspec_t* fspec) { return FILE_ERR_BAD_FSYS; } @@ -76,9 +76,9 @@ iso_close( struct boot_file_t* file) return 0; } -/* +/* * Local variables: - * c-file-style: "K&R" + * c-file-style: "k&r" * c-basic-offset: 5 * End: */