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
kill platform generation from the C sources
[simgrid.git]
/
src
/
instr
/
jedule
/
jedule_events.c
diff --git
a/src/instr/jedule/jedule_events.c
b/src/instr/jedule/jedule_events.c
index
2edc234
..
12572e3
100644
(file)
--- a/
src/instr/jedule/jedule_events.c
+++ b/
src/instr/jedule/jedule_events.c
@@
-1,9
+1,8
@@
-/*
- * jedule_events.c
- *
- * Created on: Nov 30, 2010
- * Author: sascha
- */
+/* Copyright (c) 2010-2014. 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. */
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
@@
-13,8
+12,8
@@
#include "xbt/dynar.h"
#include "xbt/asserts.h"
#include "xbt/dynar.h"
#include "xbt/asserts.h"
-#include "
instr
/jedule/jedule_events.h"
-#include "
instr
/jedule/jedule_platform.h"
+#include "
simgrid
/jedule/jedule_events.h"
+#include "
simgrid
/jedule/jedule_platform.h"
#ifdef HAVE_JEDULE
#ifdef HAVE_JEDULE
@@
-61,7
+60,7
@@
void create_jed_event(jed_event_t *event, char *name, double start_time,
(*event)->type = xbt_strdup(type);
(*event)->type = xbt_strdup(type);
- (*event)->resource_subsets = xbt_dynar_new(sizeof(jed_res_subset_t),
NULL
);
+ (*event)->resource_subsets = xbt_dynar_new(sizeof(jed_res_subset_t),
xbt_free_ref
);
(*event)->characteristics_list = xbt_dynar_new(sizeof(char*), NULL);
(*event)->info_hash = xbt_dict_new_homogeneous(NULL);
(*event)->characteristics_list = xbt_dynar_new(sizeof(char*), NULL);
(*event)->info_hash = xbt_dict_new_homogeneous(NULL);