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

Diff for /src/usr.bin/banner/banner.c between version 1.7 and 1.8

version 1.7, 2003/06/03 02:56:06 version 1.8, 2003/06/10 22:20:44
Line 71 
Line 71 
 /* the char gen code below is lifted from lpd */  /* the char gen code below is lifted from lpd */
   
 static char *  static char *
 scnline(key, p, c)  scnline(int key, char *p, int c)
         int key;  
         char *p;  
         int c;  
 {  {
         int scnwidth;          int scnwidth;
   
Line 98 
Line 95 
   
   
 static int  static int
 dropit(c)  dropit(int c)
         int c;  
 {  {
         switch(c) {          switch(c) {
   
Line 119 
Line 115 
 }  }
   
 static void  static void
 scan_out(scfd, scsp, dlm)  scan_out(int scfd, char *scsp, int dlm)
         int scfd, dlm;  
         char *scsp;  
 {  {
         char *strp;          char *strp;
         int nchrs, j;          int nchrs, j;
Line 164 
Line 158 
  * for each word, print up to 10 chars in big letters.   * for each word, print up to 10 chars in big letters.
  */   */
 int  int
 main(argc, argv)  main(int argc, char *argv[])
         int argc;  
         char **argv;  
 {  {
         char word[10+1];                        /* strings limited to 10 chars */          char word[10+1];                        /* strings limited to 10 chars */
   

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