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

Diff for /src/usr.bin/ftp/main.c between version 1.47 and 1.48

version 1.47, 2000/06/21 19:22:54 version 1.48, 2001/06/23 22:48:45
Line 95 
Line 95 
   
 #include "ftp_var.h"  #include "ftp_var.h"
   
 int main __P((int, char **));  
   
 int  int
 main(argc, argv)  main(argc, argv)
         int argc;          volatile int argc;
         char *argv[];          char ** volatile argv;
 {  {
         int ch, top, rval;          int ch, top, rval;
         struct passwd *pw = NULL;          struct passwd *pw = NULL;
Line 281 
Line 279 
   
         setttywidth(0);          setttywidth(0);
         (void)signal(SIGWINCH, setttywidth);          (void)signal(SIGWINCH, setttywidth);
   
 #ifdef __GNUC__                         /* XXX: to shut up gcc warnings */  
         (void)&argc;  
         (void)&argv;  
 #endif  
   
         if (argc > 0) {          if (argc > 0) {
                 if (isurl(argv[0])) {                  if (isurl(argv[0])) {

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48