teco

Check-in [13e94774a4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add a prototype
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:13e94774a4a34e7bc117434048549951b407c92c8bd6e4f1baada31d08908a54
User & Date: ajv-899-334-8894@vsta.org 2013-12-22 19:48:39
Context
2013-12-22
19:49
Remove a stale debug output check-in: 0895f3da25 user: ajv-899-334-8894@vsta.org tags: master, trunk
19:48
Add a prototype check-in: 13e94774a4 user: ajv-899-334-8894@vsta.org tags: master, trunk
2013-12-20
00:55
Tidy up commenting check-in: 2ae9116804 user: ajv-899-334-8894@vsta.org tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to defs.h.

427
428
429
430
431
432
433

434
435
436
437
438
439
440
extern int do_eq(void), do_en(void);
extern void vt(int);
extern int do_fb(void);
extern int read_cmdstr(void);
extern void set_term_par(int lines, int cols);
extern void recalc_tsize(int);
extern int backc(struct qp *arg);


/* Stuff from undo.c */
extern void rev_undo(int);
extern void undo_insert(int, int), undo_del(int, int);
extern void roll_back(void), roll_forward(void);

#endif /* TE_DEFS_H */







>







427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
extern int do_eq(void), do_en(void);
extern void vt(int);
extern int do_fb(void);
extern int read_cmdstr(void);
extern void set_term_par(int lines, int cols);
extern void recalc_tsize(int);
extern int backc(struct qp *arg);
extern char skipto(int);

/* Stuff from undo.c */
extern void rev_undo(int);
extern void undo_insert(int, int), undo_del(int, int);
extern void roll_back(void), roll_forward(void);

#endif /* TE_DEFS_H */

Changes to subs.c.

600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615

/*
 * routine to skip to next ", ', |, <, or >
 * skips over these chars embedded in text strings
 * stops in ! if argument is nonzero
 * returns character found, and leaves it in skipc
 */
char skipto(arg)
    int arg;
{
    int atsw;		/* "at" prefix */
    char ta, term;		/* temp attributes, terminator */

    for (atsw = 0; ;) {
        /* read until something interesting found */
        for (;;) {







|
|







600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615

/*
 * routine to skip to next ", ', |, <, or >
 * skips over these chars embedded in text strings
 * stops in ! if argument is nonzero
 * returns character found, and leaves it in skipc
 */
char
skipto(int arg)
{
    int atsw;		/* "at" prefix */
    char ta, term;		/* temp attributes, terminator */

    for (atsw = 0; ;) {
        /* read until something interesting found */
        for (;;) {