[C-MPI-commits] SF.net SVN: c-mpi:[66]
Status: Pre-Alpha
Brought to you by:
jmwozniak
|
From: <jmw...@us...> - 2010-05-04 18:46:26
|
Revision: 66
http://c-mpi.svn.sourceforge.net/c-mpi/?rev=66&view=rev
Author: jmwozniak
Date: 2010-05-04 18:46:20 +0000 (Tue, 04 May 2010)
Log Message:
-----------
Remove "basic" test; compilation fixes.
Modified Paths:
--------------
Makefile.in
configure.ac
include/itable.h
include/ltable.h
include/mpirpc.h
src/gossip/gossip.c
Modified: Makefile.in
===================================================================
--- Makefile.in 2010-04-29 21:56:33 UTC (rev 65)
+++ Makefile.in 2010-05-04 18:46:20 UTC (rev 66)
@@ -145,7 +145,7 @@
BUILD_CFLAGS = @BUILD_CFLAGS@
BUILD_LDFLAGS = @BUILD_LDFLAGS@
# make sure the srcdir include gets included first
-CFLAGS = -std=c99 # @CFLAGS@ @CPPFLAGS@ # -I $(srcdir)/include
+CFLAGS = -std=gnu99 # @CFLAGS@ @CPPFLAGS@ # -I $(srcdir)/include
LDFLAGS = -L@BUILD_ABSOLUTE_TOP@/lib
ifneq ($(DISKSIM)/src,)
LDFLAGS += -L$(DISKSIM)/src
Modified: configure.ac
===================================================================
--- configure.ac 2010-04-29 21:56:33 UTC (rev 65)
+++ configure.ac 2010-05-04 18:46:20 UTC (rev 66)
@@ -395,7 +395,6 @@
if test "x$ENABLE_TESTS" = "xyes" ; then
AC_CONFIG_FILES(
test/adts/module.mk
- test/basic/module.mk
test/cmpi/module.mk
test/cmpi-io/module.mk
test/driver/module.mk
Modified: include/itable.h
===================================================================
--- include/itable.h 2010-04-29 21:56:33 UTC (rev 65)
+++ include/itable.h 2010-05-04 18:46:20 UTC (rev 66)
@@ -2,7 +2,7 @@
*
* See COPYING in top-level directory.
*
- * Modified for Grayskull by Justin M Wozniak <wo...@mc...>
+ * Modified for Grayskull by Justin M Wozniak <wo...@mc...>
*/
#ifndef ITABLE_H
@@ -11,18 +11,18 @@
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
-#include <string.h>
+#include <string.h>
-#include "ilist.h"
+#include "ilist.h"
struct itable
{
struct ilist** array;
int capacity;
- int size;
+ int size;
};
-inline int hash_int(int key, int capacity);
+int hash_int(int key, int capacity);
struct itable* itable_create(int capacity);
@@ -30,16 +30,16 @@
void* itable_search(struct itable* target, int key);
-void* itable_remove(struct itable* target, int key);
+void* itable_remove(struct itable* target, int key);
-void itable_free(struct itable* target);
+void itable_free(struct itable* target);
-void itable_destroy(struct itable* target);
+void itable_destroy(struct itable* target);
-void itable_dump(char* format, struct itable* target);
+void itable_dump(char* format, struct itable* target);
int itable_tostring(char* str, size_t size,
- char* format, struct itable* target);
+ char* format, struct itable* target);
#endif
Modified: include/ltable.h
===================================================================
--- include/ltable.h 2010-04-29 21:56:33 UTC (rev 65)
+++ include/ltable.h 2010-05-04 18:46:20 UTC (rev 66)
@@ -9,20 +9,20 @@
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
-#include <string.h>
+#include <string.h>
-#include <mpi_tools.h>
+#include <mpi_tools.h>
-#include "llist.h"
+#include "llist.h"
struct ltable
{
struct llist** array;
int capacity;
- int size;
+ int size;
};
-inline int hash_long(long key, int capacity);
+int hash_long(long key, int capacity);
struct ltable* ltable_create(int capacity);
@@ -30,12 +30,12 @@
void* ltable_search(struct ltable* table, long key);
-void* ltable_remove(struct ltable* table, long key);
+void* ltable_remove(struct ltable* table, long key);
-void ltable_dump(char* format, struct ltable* target);
+void ltable_dump(char* format, struct ltable* target);
int ltable_tostring(char* str, size_t size,
- char* format, struct ltable* target);
+ char* format, struct ltable* target);
#endif
Modified: include/mpirpc.h
===================================================================
--- include/mpirpc.h 2010-04-29 21:56:33 UTC (rev 65)
+++ include/mpirpc.h 2010-05-04 18:46:20 UTC (rev 66)
@@ -22,7 +22,7 @@
extern int unique;
-extern unsigned int snooze_max;
+extern useconds_t snooze_max;
#define MPIRPC_MAX_NAME 128
#define MPIRPC_MAX_ARGS 256
Modified: src/gossip/gossip.c
===================================================================
--- src/gossip/gossip.c 2010-04-29 21:56:33 UTC (rev 65)
+++ src/gossip/gossip.c 2010-05-04 18:46:20 UTC (rev 66)
@@ -11,6 +11,8 @@
* Handles debugging output.
*/
+#include <strings.h>
+
#include <gossip.h>
/** controls whether debugging is on or off */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|