lars        99/03/19 13:20:49

  Modified:    src/support htpasswd.c
  Log:
  make functions static, fix missing prototype warning
  
  Revision  Changes    Path
  1.24      +5 -5      apache-1.3/src/support/htpasswd.c
  
  Index: htpasswd.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/support/htpasswd.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- htpasswd.c        1999/03/10 20:58:23     1.23
  +++ htpasswd.c        1999/03/19 21:20:48     1.24
  @@ -294,7 +294,7 @@
    * Check to see if the specified file can be opened for the given
    * access.
    */
  -int accessible(char *fname, char *mode)
  +static int accessible(char *fname, char *mode)
   {
       FILE *s;
   
  @@ -309,7 +309,7 @@
   /*
    * Return true if a file is readable.
    */
  -int readable(char *fname)
  +static int readable(char *fname)
   {
       return accessible(fname, "r");
   }
  @@ -317,7 +317,7 @@
   /*
    * Return true if the specified file can be opened for write access.
    */
  -int writable(char *fname)
  +static int writable(char *fname)
   {
       return accessible(fname, "a");
   }
  @@ -325,7 +325,7 @@
   /*
    * Return true if the named file exists, regardless of permissions.
    */
  -int exists(char *fname)
  +static int exists(char *fname)
   {
   #ifdef WIN32
       struct _stat sbuf;
  @@ -346,7 +346,7 @@
    * Copy from the current position of one file to the current position
    * of another.
    */
  -void copy_file(FILE *target, FILE *source)
  +static void copy_file(FILE *target, FILE *source)
   {
       static char line[MAX_STRING_LEN];
   
  
  
  

Reply via email to