A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove gras from the main documentation
[simgrid.git]
/
examples
/
gras
/
mmrpc
/
mmrpc.h
diff --git
a/examples/gras/mmrpc/mmrpc.h
b/examples/gras/mmrpc/mmrpc.h
index
d33d1c8
..
3f08bc8
100644
(file)
--- a/
examples/gras/mmrpc/mmrpc.h
+++ b/
examples/gras/mmrpc/mmrpc.h
@@
-1,8
+1,7
@@
-/* $Id$ */
-
/* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
/* GridRPC - Fake Grid RPC thingy doing matrix multiplications (as expected)*/
-/* Copyright (c) 2005 Martin Quinson. All rights reserved. */
+/* Copyright (c) 2006, 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-14,22
+13,12
@@
#define MATSIZE 128
#define MATSIZE 128
-GRAS_DEFINE_TYPE(s_matrix,
-struct s_matrix {
- int lines;
- int rows;
- double *ctn GRAS_ANNOTE(size, lines*rows);
-};)
-typedef struct s_matrix matrix_t;
-
-void mat_dump(matrix_t *mat, const char* name);
-
/* register messages which may be sent and their payload
(common to client and server) */
void mmrpc_register_messages(void);
/* Function prototypes */
/* register messages which may be sent and their payload
(common to client and server) */
void mmrpc_register_messages(void);
/* Function prototypes */
-int server
(int argc,
char *argv[]);
-int client
(int argc,
char *argv[]);
+int server
(int argc,
char *argv[]);
+int client
(int argc,
char *argv[]);
-#endif /* MMRPC_H */
+#endif
/* MMRPC_H */