[pisa-src] r1369 - in trunk: include/util.h libpisa/util.c

  • From: Thomas Jansen <mithi@xxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Wed, 28 Oct 2009 12:48:32 +0100

Author: tjansen
Date: Wed Oct 28 12:48:32 2009
New Revision: 1369

Log:
Removed unused function pisa_maxInt.

Modified:
   trunk/include/util.h
   trunk/libpisa/util.c

Modified: trunk/include/util.h
==============================================================================
--- trunk/include/util.h        Wed Oct 28 12:42:56 2009        (r1368)
+++ trunk/include/util.h        Wed Oct 28 12:48:32 2009        (r1369)
@@ -121,7 +121,6 @@
 void die(const char *errorText,int exitValue);
 void usage(const char *text);
 
-int pisa_maxInt(const int a,const int b);
 int pisa_maxof(int num_args, ...);
 
 #ifndef __KERNEL__

Modified: trunk/libpisa/util.c
==============================================================================
--- trunk/libpisa/util.c        Wed Oct 28 12:42:56 2009        (r1368)
+++ trunk/libpisa/util.c        Wed Oct 28 12:48:32 2009        (r1369)
@@ -53,21 +53,6 @@
 }
 
 /**
- * Return the maximum value of the given two integer values.
- *
- * @param a   the first input value
- * @param b   the second input value
- * @return the integer with the largest value from the list provided.
- */
-int pisa_maxInt(const int a,const int b)
-{
-       if (a>b)
-               return a;
-       else
-               return b;
-}
-
-/**
  * Return the maximum value among the given integer values.
  *
  * @param num_args   number of the following input values

Other related posts:

  • » [pisa-src] r1369 - in trunk: include/util.h libpisa/util.c - Thomas Jansen