Closed
Bug 670487
Opened 14 years ago
Closed 14 years ago
Fixing rl_ttyset prototype in js/src/editline.
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla8
People
(Reporter: tipecaml, Assigned: tipecaml)
Details
Attachments
(1 file)
394 bytes,
patch
|
brendan
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0
Build ID: 2011061500
Steps to reproduce:
I compiled the trunk version of Firefox.
Actual results:
It compiles fine and Firefox works perfectly, but the compiler (GCC 4.5.1) prints out these warnings :
mozilla/js/src/editline/editline.c:1026:5: warning: call to function ‘rl_ttyset’ without a real prototype
mozilla/js/src/editline/editline.h:118:13: note: ‘rl_ttyset’ was declared here
mozilla/js/src/editline/editline.c:1037:5: warning: call to function ‘rl_ttyset’ without a real prototype
mozilla/js/src/editline/editline.h:118:13: note: ‘rl_ttyset’ was declared here
Expected results:
These warnings should not appear. Though one should not really worry about them, they pollute the compiler's output. The attached patch should fix this.
Assignee | ||
Updated•14 years ago
|
Attachment #545043 -
Flags: review?(brendan)
Comment 1•14 years ago
|
||
Comment on attachment 545043 [details] [diff] [review]
Fix the prototype of rl_ttyset().
Thanks for the patch -- wow, this code is old.
Ask around on irc.mozilla.org #jsapi for help landing this, please.
/be
Attachment #545043 -
Flags: review?(brendan) → review+
Updated•14 years ago
|
Keywords: checkin-needed
Updated•14 years ago
|
Assignee: nobody → tipecaml
Comment 2•14 years ago
|
||
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Component: General → JavaScript Engine
Keywords: checkin-needed
Product: Firefox → Core
QA Contact: general → general
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
You need to log in
before you can comment on or make changes to this bug.
Description
•