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

  • From: René Hummen <rene.hummen@xxxxxxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Tue, 03 Nov 2009 16:52:58 +0100

Author: hummen
Date: Tue Nov  3 16:52:58 2009
New Revision: 1506

Log:
Removed unused "run hipd" functionality in pisa.

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

Modified: trunk/libpisa/util.c
==============================================================================
--- trunk/libpisa/util.c        Tue Nov  3 16:50:30 2009        (r1505)
+++ trunk/libpisa/util.c        Tue Nov  3 16:52:58 2009        (r1506)
@@ -169,24 +169,6 @@
 }
 
 /**
- * Check if hipd runs, and if not, make it run.
- *
- * @return 0 if success, -1 if not
- */
-int pisa_make_hipd_run(void)
-{
-       if (pisa_check_if_hipd_runs())
-               return 0;
-
-       /* This would start a hipd in the path. It would be unknown
-        * to the user, which hipd is running at the moment. This is
-        * especially fatal, when different versions are available
-        * on the host and the user wants to use a specific one.
-        */
-       return system("hipd -bk") == 0 ? 0 : -1;
-}
-
-/**
  * Check if hipd runs
  *
  * @param filename  the name of the file

Modified: trunk/libpisa/util.h
==============================================================================
--- trunk/libpisa/util.h        Tue Nov  3 16:50:30 2009        (r1505)
+++ trunk/libpisa/util.h        Tue Nov  3 16:52:58 2009        (r1506)
@@ -102,7 +102,6 @@
 
 int pisa_maxof(int num_args, ...);
 
-int pisa_make_hipd_run(void);
 int pisa_check_if_hipd_runs(void);
 
 int pisa_create_lock_file(const char *filename, const int killold);

Other related posts:

  • » [pisa-src] r1506 - in trunk/libpisa: util.c util.h - René Hummen