[asterisk-bugs] [Asterisk 0007884]: pciradio.c include moduleparam.h missing

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jun 7 11:57:46 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=7884 
====================================================================== 
Reported By:                iceberg13de
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   7884
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           I did not set the version :( 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             09-05-2006 03:38 CDT
Last Modified:              06-07-2008 11:57 CDT
====================================================================== 
Summary:                    pciradio.c include moduleparam.h missing
Description: 
I could reproduce Issue http://bugs.digium.com/view.php?id=0007263.

  CC [M]  /root/install/zaptel-1.2.8/pciradio.o
/root/install/zaptel-1.2.8/pciradio.c:1811: error: parse error before
"int"
/root/install/zaptel-1.2.8/pciradio.c:1811: warning: type defaults to
`int' in declaration of `module_param'
/root/install/zaptel-1.2.8/pciradio.c:1811: warning: function declaration
isn't a prototype
/root/install/zaptel-1.2.8/pciradio.c:1811: warning: data definition has
no type or storage class

After adding this line (http://bugs.digium.com/view.php?id=49) to pciradio.c it
was gone:
#include <linux/moduleparam.h>
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0007263 pciradio.c does not compile with linux 2.6
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-07-08 11:57  
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 1432

_U  trunk/
U   trunk/pciradio.c

------------------------------------------------------------------------
r1432 | file | 2008-06-07 11:57:42 -0500 (Sat, 07 Jun 2008) | 10 lines

Merged revisions 1431 via svnmerge from 
https://origsvn.digium.com/svn/zaptel/branches/1.2

........
r1431 | file | 2006-09-07 23:17:16 -0400 (Thu, 07 Sep 2006) | 2 lines

Include moduleparam.h like every other module for certain 2.6 kernels
(issue http://bugs.digium.com/view.php?id=7884 reported by iceberg13de)

........

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=1432 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-07-08 11:57  svnbot         Checkin                                      
06-07-08 11:57  svnbot         Note Added: 0088172                          
======================================================================




More information about the asterisk-bugs mailing list