[BACK]Return to column.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / column

Diff for /src/usr.bin/column/column.c between version 1.8 and 1.9

version 1.8, 2003/06/03 02:56:07 version 1.9, 2003/06/10 22:20:45
Line 71 
Line 71 
 char *separator = "\t ";        /* field separator for table option */  char *separator = "\t ";        /* field separator for table option */
   
 int  int
 main(argc, argv)  main(int argc, char *argv[])
         int argc;  
         char **argv;  
 {  {
         struct winsize win;          struct winsize win;
         FILE *fp;          FILE *fp;
Line 135 
Line 133 
   
 #define TAB     8  #define TAB     8
 void  void
 c_columnate()  c_columnate(void)
 {  {
         int chcnt, col, cnt, endcol, numcols;          int chcnt, col, cnt, endcol, numcols;
         char **lp;          char **lp;
Line 164 
Line 162 
 }  }
   
 void  void
 r_columnate()  r_columnate(void)
 {  {
         int base, chcnt, cnt, col, endcol, numcols, numrows, row;          int base, chcnt, cnt, col, endcol, numcols, numrows, row;
   
Line 193 
Line 191 
 }  }
   
 void  void
 print()  print(void)
 {  {
         int cnt;          int cnt;
         char **lp;          char **lp;
Line 209 
Line 207 
 #define DEFCOLS 25  #define DEFCOLS 25
   
 void  void
 maketbl()  maketbl(void)
 {  {
         TBL *t;          TBL *t;
         int coloff, cnt;          int coloff, cnt;
Line 255 
Line 253 
 #define MAXLINELEN      (LINE_MAX + 1)  #define MAXLINELEN      (LINE_MAX + 1)
   
 void  void
 input(fp)  input(FILE *fp)
         FILE *fp;  
 {  {
         static int maxentry;          static int maxentry;
         int len;          int len;
Line 288 
Line 285 
 }  }
   
 void *  void *
 emalloc(size)  emalloc(int size)
         int size;  
 {  {
         char *p;          char *p;
   
Line 300 
Line 296 
 }  }
   
 void  void
 usage()  usage(void)
 {  {
   
         (void)fprintf(stderr,          (void)fprintf(stderr,

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9