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
Merge branch 'coverity_scan' of github.com:mquinson/simgrid
[simgrid.git]
/
examples
/
msg
/
chainsend
/
peer.h
diff --git
a/examples/msg/chainsend/peer.h
b/examples/msg/chainsend/peer.h
index fd20ecac1a03f07b3f13cbd4e01685da133859ff..71306b1b820ad0efbdd38ed223be6d3a7c92359b 100644
(file)
--- a/
examples/msg/chainsend/peer.h
+++ b/
examples/msg/chainsend/peer.h
@@
-1,7
+1,13
@@
+/* Copyright (c) 2012-2015. 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. */
+
#ifndef KADEPLOY_PEER_H
#define KADEPLOY_PEER_H
#ifndef KADEPLOY_PEER_H
#define KADEPLOY_PEER_H
-#include "
msg
/msg.h"
+#include "
simgrid
/msg.h"
#include "xbt/sysdep.h"
#include "messages.h"
#include "xbt/sysdep.h"
#include "messages.h"
@@
-12,8
+18,8
@@
/* Peer struct */
typedef struct s_peer {
int init;
/* Peer struct */
typedef struct s_peer {
int init;
- c
onst c
har *prev;
- c
onst c
har *next;
+ char *prev;
+ char *next;
char *me;
int pieces;
unsigned long long bytes;
char *me;
int pieces;
unsigned long long bytes;