Fix prototype to eliminate a compiler warning in js/src/editline. r=brendan.
☠☠ backed out by ce95693001bc ☠ ☠
authorCyril Roelandt <tipecaml@gmail.com>
Tue, 12 Jul 2011 13:14:37 -0500
changeset 72712 2d5bc18fdf9c40ee4d86411fb2713c8094814092
parent 72711 575a133e97e54282631ed0bd7d8c0ee861c697a0
child 72713 5cea57e451ddfac20958edf83d6b15748ae12c3f
push idunknown
push userunknown
push dateunknown
reviewersbrendan
milestone8.0a1
Fix prototype to eliminate a compiler warning in js/src/editline. r=brendan.
js/src/editline/editline.h
--- a/js/src/editline/editline.h
+++ b/js/src/editline/editline.h
@@ -110,17 +110,17 @@ typedef unsigned char	CHAR;
 */
 extern unsigned rl_eof;
 extern unsigned rl_erase;
 extern unsigned rl_intr;
 extern unsigned rl_kill;
 extern unsigned rl_quit;
 extern char	*rl_complete();
 extern int	rl_list_possib();
-extern void	rl_ttyset();
+extern void	rl_ttyset(int);
 extern void	rl_add_slash();
 
 #if	!defined(HAVE_STDLIB)
 extern char	*getenv();
 extern char	*malloc();
 extern char	*realloc();
 extern char	*memcpy();
 extern char	*strcat();