bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] Re: ftp: command processing


From: Debarshi 'Rishi' Ray
Subject: Re: [bug-inetutils] Re: ftp: command processing
Date: Fri, 31 Aug 2007 11:40:29 +0530

>>    So where is the prototype for add_history coming from in Inetutls?
>>    Should not we refer to history.h and/or -lhistory too as just as we
>>    do for readline.h and -lreadline?

> C never required that you need to specify a prototype for a function.
> Try enabling warnings, and you will see.

That is true. What I meant was should we #include <readline/history.h>
and/or enable warnings?

>>    Or in other terms why should we check for add_history in both
>>    libreadline _and_ libhistory?

> Because add_history is can be part of another library.

"another" or "either" ?

Happy hacking,
Debarshi
-- 
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu




reply via email to

[Prev in Thread] Current Thread [Next in Thread]