LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 04-16-2008, 01:44 AM   #1
nasim751
Member
 
Registered: Jan 2008
Posts: 40

Rep: Reputation: 15
Thumbs down warning: incompatible implicit declaration of built-in function ‘bzero’


how you will deal this warning

Quote:
warning: incompatible implicit declaration of built-in function ‘
bzero’

Code:
if( flow_hash[index] )
     if( flow_hash[index]->time_last_access-current_time > tcp_timeout ) {

        state = flow_hash[index]->next;
        bzero( state, sizeof(flow_state_t) );
        flow_hash[index]->next = state;

        /* statistics */
        stats.reuse++;

        return;
     }
please give me feedback.
 
Old 04-16-2008, 02:35 AM   #2
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 489

Rep: Reputation: 49
"man bzero" says that you have to include string.h
 
Old 08-08-2011, 04:00 PM   #3
slivin
LQ Newbie
 
Registered: Aug 2011
Posts: 1

Rep: Reputation: Disabled
its actually strings.h not string.h
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
warning: implicit declaration of function liguorir Linux - Software 4 05-05-2012 12:02 PM
warning: implicit declaration of function `snprintf' BiThian Programming 13 10-06-2011 04:26 PM
'incompatible implicit declaration' errors when compiling -Pb- Linux - Software 6 11-18-2010 12:39 AM
how to get rid of "warning : implicit declaration of function 'getpid' " ? diodio Linux - Newbie 6 02-01-2006 02:47 PM
warning: incompatible implicit declaration of built-in function ‘exit’ xzotech Programming 1 08-14-2005 05:43 AM


All times are GMT -5. The time now is 09:41 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration