Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : add header (description, copyright, license)
[simgrid.git] / include / xbt / automatonparse_promela.h
index cb4fc9c..7fb7d5a 100644 (file)
@@ -1,3 +1,11 @@
+/*  xbt/automatonparse_promela.h -- implementation automaton from promela file    */
+
+/* Copyright (c) 2011. 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 _XBT_AUTOMATONPARSE_PROMELA_H
 #define _XBT_AUTOMATONPARSE_PROMELA_H
 
 #include <string.h>
 #include "xbt/automaton.h"
 
-xbt_automaton_t automaton;
-
 SG_BEGIN_DECL()
 
+XBT_PUBLIC_DATA(xbt_automaton_t) automaton;
+
 XBT_PUBLIC(void) init(void);
 
 XBT_PUBLIC(void) new_state(char* id, int src);