[OpenAFS-devel] rxk5 branch is ready; please test

Douglas E. Engert deengert@anl.gov
Fri, 11 Jan 2008 14:13:49 -0600


This is a multi-part message in MIME format.
--------------080507080507040809090708
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

This afternoon, did a cvs update, and found three new problems.
All three are because the Solaris compiler considers a void
function returning a value as an error.






-- 

  Douglas E. Engert  <DEEngert@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444

--------------080507080507040809090708
Content-Type: text/plain;
 name="diff.20080111.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="diff.20080111.txt"

Index: ./src/uss/lex.l
===================================================================
RCS file: /cvs/openafs/src/uss/lex.l,v
retrieving revision 1.1.24.1
diff -u -r1.1.24.1 lex.l
--- ./src/uss/lex.l	3 Jan 2008 16:48:30 -0000	1.1.24.1
+++ ./src/uss/lex.l	11 Jan 2008 20:04:23 -0000
@@ -24,6 +24,10 @@
 #else
 #define dprint(x)
 #endif
+
+void 
+Replace(char *in, char *out);
+
 %}
 
 /* definitions */
Index: ./src/afs/afs_server.c
===================================================================
RCS file: /cvs/openafs/src/afs/afs_server.c,v
retrieving revision 1.43.4.1.2.2
diff -u -r1.43.4.1.2.2 afs_server.c
--- ./src/afs/afs_server.c	3 Jan 2008 16:47:28 -0000	1.43.4.1.2.2
+++ ./src/afs/afs_server.c	11 Jan 2008 20:04:33 -0000
@@ -1129,7 +1129,6 @@
 	    sa->sa_iprank = afs_min(sa->sa_iprank, MED);
 	}
     }
-    return 0;
 }
 #else /* AFS_USERSPACE_IP_ADDR */
 #if (! defined(AFS_SUN5_ENV)) && !defined(AFS_DARWIN60_ENV) && defined(USEIFADDR)
Index: ./src/butc/dbentries.c
===================================================================
RCS file: /cvs/openafs/src/butc/dbentries.c,v
retrieving revision 1.8.14.1.2.1
diff -u -r1.8.14.1.2.1 dbentries.c
--- ./src/butc/dbentries.c	3 Jan 2008 16:47:40 -0000	1.8.14.1.2.1
+++ ./src/butc/dbentries.c	11 Jan 2008 20:04:47 -0000
@@ -310,7 +310,6 @@
     if (message) {
 	printf("Updating database - done\n");
     }
-    return 0;
 }
 
 #define MAXVOLUMESTOADD 100

--------------080507080507040809090708--