X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=second%2Fcfg.c;h=ebf05aef95b86c8cf207b301173d8bd54c8d5f51;hp=62085e0db4402d846510c63182f01c31d0cb32fe;hb=ba131271e6a8f3401cf6faa7d751530b6151ae3a;hpb=0ef1539b6f680ba09c88be5bb94a821fd2599931 diff --git a/second/cfg.c b/second/cfg.c index 62085e0..ebf05ae 100644 --- a/second/cfg.c +++ b/second/cfg.c @@ -1,21 +1,23 @@ -/* Handling and parsing of silo.conf - - Copyright (C) 1995 Werner Almesberger - 1996 Jakub Jelinek - - 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. */ +/* + * cfg.c - Handling and parsing of yaboot.conf + * + * Copyright (C) 1995 Werner Almesberger + * 1996 Jakub Jelinek + * + * 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 "setjmp.h" #include "stdarg.h" @@ -342,7 +344,7 @@ int cfg_parse (char *cfg_file, char *buff, int len) if (!cfg_set (item, value)) { #if DEBUG prom_printf("Can't set item %s to value %s\n", item, value); -#endif +#endif } free (item); } @@ -453,9 +455,9 @@ char *cfg_get_default (void) return ret; } -/* +/* * Local variables: - * c-file-style: "K&R" + * c-file-style: "k&r" * c-basic-offset: 5 * End: */