Patches item #1703270, was opened at 2007-04-18 14:43
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1703270&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Alexander Belopolsky (belopolsky)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: missing declaration in readline.c

Initial Comment:
If HAVE_RL_COMPLETION_MATCHES is not defined, readline.c code does not define 
completion_matches macro in an apparent hope that completion_matches will be 
linked to a n internal rl function. Attached patch adds the missing extern 
declaration to supress compiler warnings.

Currently gcc complains as follows:

Modules/readline.c:681: warning: implicit declaration of function 
`completion_matches'
Modules/readline.c:681: warning: return makes pointer from integer without a 
cast

----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2007-04-18 22:53

Message:
Logged In: YES 
user_id=33168
Originator: NO

Thanks for the patch!

Committed revision 54874.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1703270&group_id=5470
_______________________________________________
Patches mailing list
[email protected]
http://mail.python.org/mailman/listinfo/patches

Reply via email to