[netperf-dev] netperf2 commit notice r314 - in trunk: . src src/missing/m4

raj at netperf.org raj at netperf.org
Tue Sep 8 11:31:20 PDT 2009


Author: raj
Date: 2009-09-08 11:31:19 -0700 (Tue, 08 Sep 2009)
New Revision: 314

Modified:
   trunk/aclocal.m4
   trunk/src/missing/m4/salen.m4
   trunk/src/netsys_linux.c
Log:
more jose fixes

Modified: trunk/aclocal.m4
===================================================================
--- trunk/aclocal.m4	2009-09-08 17:55:02 UTC (rev 313)
+++ trunk/aclocal.m4	2009-09-08 18:31:19 UTC (rev 314)
@@ -1219,7 +1219,7 @@
 dnl
 dnl Checks to see if the sockaddr struct has the 4.4 BSD sa_len member
 dnl borrowed from LBL libpcap
-AC_DEFUN(AC_CHECK_SA_LEN, [
+AC_DEFUN([AC_CHECK_SA_LEN], [
         AC_MSG_CHECKING(if sockaddr struct has sa_len member)
         AC_CACHE_VAL($1,
         AC_TRY_COMPILE([

Modified: trunk/src/missing/m4/salen.m4
===================================================================
--- trunk/src/missing/m4/salen.m4	2009-09-08 17:55:02 UTC (rev 313)
+++ trunk/src/missing/m4/salen.m4	2009-09-08 18:31:19 UTC (rev 314)
@@ -16,7 +16,7 @@
 dnl
 dnl Checks to see if the sockaddr struct has the 4.4 BSD sa_len member
 dnl borrowed from LBL libpcap
-AC_DEFUN(AC_CHECK_SA_LEN, [
+AC_DEFUN([AC_CHECK_SA_LEN], [
         AC_MSG_CHECKING(if sockaddr struct has sa_len member)
         AC_CACHE_VAL($1,
         AC_TRY_COMPILE([

Modified: trunk/src/netsys_linux.c
===================================================================
--- trunk/src/netsys_linux.c	2009-09-08 17:55:02 UTC (rev 313)
+++ trunk/src/netsys_linux.c	2009-09-08 18:31:19 UTC (rev 314)
@@ -15,8 +15,6 @@
 find_cpu_model(char **cpu_model) {
   char linebuf[256];
   char *cret;
-  int  ret;
-  int  c;
 
   FILE *proccpu;
 
@@ -52,8 +50,6 @@
 find_cpu_freq() {
   char linebuf[256];
   char *cret;
-  int  ret;
-  int  c;
 
   FILE *proccpu;
 
@@ -109,7 +105,6 @@
 
 void
 find_system_info(char **system_model, char **cpu_model, int *cpu_frequency) {
-  int ret;
 
   find_system_model(system_model);
   find_cpu_model(cpu_model);



More information about the netperf-dev mailing list