[asterisk-bugs] [Asterisk 0013070]: [patch] put 'static' at beginning of declarations

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Jul 13 19:45:59 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13070 
====================================================================== 
Reported By:                gknispel_proformatique
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13070
Category:                   General
Reproducibility:            N/A
Severity:                   tweak
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 130632 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-13-2008 19:45 CDT
Last Modified:              07-13-2008 19:45 CDT
====================================================================== 
Summary:                    [patch] put 'static' at beginning of declarations
Description: 
Attachement "illustration_const_static" shows that GCC prefers when static
is at the beginning of declarations.
The attached patch move them there for the trunk.

It has been produced by
for each in `svnrgrep -l 'const static' .` ; do sed -e "s/const
static/static const/g" -i $each ; done
then manual edition of channels/misdn/isdn_lib.c then manual inspection of
the whole result then build test.

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-13-08 19:45  gknispel_proformatiqueAsterisk Version          => SVN          
  
07-13-08 19:45  gknispel_proformatiqueSVN Branch (only for SVN checkou =>  trunk
         
07-13-08 19:45  gknispel_proformatiqueSVN Revision (number only!) => 130632     
    
======================================================================




More information about the asterisk-bugs mailing list