[asterisk-bugs] [Asterisk 0011219]: [patch] Avoid including not needed header files or already included.

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Nov 12 17:06:01 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11219 
====================================================================== 
Reported By:                eliel
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11219
Category:                   Core-General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 89185 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             11-12-2007 11:55 CST
Last Modified:              11-12-2007 17:06 CST
====================================================================== 
Summary:                    [patch] Avoid including not needed header files or
already included.
Description: 
This is only a code cleanup no "include <*.h>" was added their were only
removed the ones that weren't needed because their weren't used or because
their were included on another header.
====================================================================== 

---------------------------------------------------------------------- 
 qwell - 11-12-07 17:06  
---------------------------------------------------------------------- 
On Linux:

   [CC] dnsmgr.c -> dnsmgr.o
dnsmgr.c: In function ‘do_refresh’:
dnsmgr.c:204: warning: implicit declaration of function ‘usleep’
   [CC] http.c -> http.o
http.c: In function ‘static_callback’:
http.c:190: warning: implicit declaration of function ‘read’
http.c:193: warning: implicit declaration of function ‘close’
http.c: In function ‘ssl_setup’:
http.c:936: warning: implicit declaration of function ‘sleep’
   [CC] io.c -> io.o
io.c: In function ‘ast_hide_password’:
io.c:334: warning: implicit declaration of function ‘isatty’ 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-12-07 17:06  qwell          Note Added: 0073553                          
======================================================================




More information about the asterisk-bugs mailing list