[BACK]Return to def.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

Diff for /src/usr.bin/mg/def.h between version 1.142 and 1.143

version 1.142, 2015/03/16 13:47:48 version 1.143, 2015/03/19 21:22:15
Line 10 
Line 10 
  * per-terminal definitions are in special header files.   * per-terminal definitions are in special header files.
  */   */
   
 #include        "sysdef.h"      /* Order is critical.            */  
 #include        "ttydef.h"  
 #include        "chrdef.h"  #include        "chrdef.h"
   #include        "ttydef.h"
   
 typedef int     (*PF)(int, int);        /* generally useful type */  typedef int     (*PF)(int, int);        /* generally useful type */
   
Line 108 
Line 107 
 #define MAX_TOKEN 64  #define MAX_TOKEN 64
   
 /*  /*
    * Previously from sysdef.h
    */
   typedef int     RSIZE;          /* Type for file/region sizes    */
   typedef short   KCHAR;          /* Type for internal keystrokes  */
   
   /*
  * This structure holds the starting position   * This structure holds the starting position
  * (as a line/offset pair) and the number of characters in a   * (as a line/offset pair) and the number of characters in a
  * region of a buffer. This makes passing the specification   * region of a buffer. This makes passing the specification
Line 233 
Line 238 
   
 struct undo_rec;  struct undo_rec;
 TAILQ_HEAD(undoq, undo_rec);  TAILQ_HEAD(undoq, undo_rec);
   
   /*
    * Previously from sysdef.h
    * Only used in struct buffer.
    */
   struct fileinfo {
           uid_t           fi_uid;
           gid_t           fi_gid;
           mode_t          fi_mode;
           struct timespec fi_mtime;       /* Last modified time */
   };
   
 /*  /*
  * Text is kept in buffers. A buffer header, described   * Text is kept in buffers. A buffer header, described

Legend:
Removed from v.1.142  
changed lines
  Added in v.1.143