Update of /cvsroot/alsa/alsa-kernel/include In directory sc8-pr-cvs1:/tmp/cvs-serv32368/include
Modified Files: initval.h Log Message: - fixed the boot parameters with long ints for non-intel architectures. - added get_option_long() for parsing the parameter. Index: initval.h =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/include/initval.h,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- initval.h 14 May 2003 13:29:37 -0000 1.15 +++ initval.h 14 Oct 2003 13:08:14 -0000 1.16 @@ -163,4 +163,16 @@ } #endif +/* simple wrapper for long variable. + * the value more than 32bit won't work! + */ +inline static int get_option_long(char **str, long *valp) +{ + int val, ret; + ret = get_option(str, &val); + if (ret) + *valp = val; + return ret; +} + #endif /* __SOUND_INITVAL_H */ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog