ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/editline.c
(Generate patch)

Comparing ray/src/rt/editline.c (file contents):
Revision 2.7 by schorsch, Sun Jul 27 22:12:03 2003 UTC vs.
Revision 2.8 by schorsch, Tue Mar 30 16:13:01 2004 UTC

# Line 10 | Line 10 | static const char      RCSid[] = "$Id$";
10   #include "copyright.h"
11  
12   #include <stdio.h>
13 + #include <string.h>
14  
15   #include "color.h"
16  
# Line 22 | Line 23 | static const char      RCSid[] = "$Id$";
23   #define iskill(c)       ((c) == 'U'-'@' || (c) == 'X'-'@')
24  
25  
26 < void
27 < editline(buf, c_get, s_put)     /* edit input line */
28 < char  *buf;
29 < int  (*c_get)();
30 < void  (*s_put)();
26 > extern void
27 > editline(       /* edit input line */
28 >        char  *buf,
29 >        dr_getchf_t *c_get,
30 >        dr_comoutf_t *s_put
31 > )
32   {
33          static char  erases[] = "\b \b";
34          static char  obuf[4];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines