Convert comments to doxygen
[libfirm] / testprograms / call_str_example.c
index b61bf2b..ff4f0ba 100644 (file)
@@ -1,9 +1,9 @@
 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
-** All rights reserved.
-**
-** Authors: Christian Schaefer, Goetz Lindenmaier
-**
-** testprogram.
+* All rights reserved.
+*
+* Authors: Christian Schaefer, Goetz Lindenmaier
+*
+* testprogram.
 */
 
 # include <string.h>
 # include "firm.h"
 
 /**
-***  This file constructs the ir for the following pseudo-program:
-***
-***  void f(char *);
-***
-***  main() {
-***    f("Hello world !");
-***  }
+*  This file constructs the ir for the following pseudo-program:
+*
+*  void f(char *);
+*
+*  main() {
+*    f("Hello world !");
+*  }
 **/
 
 int main(int argc, char **argv)
@@ -48,7 +48,7 @@ int main(int argc, char **argv)
    * automatically generated.
    * We use the same name for the method type as for the method entity.
    */
-#define METHODNAME "main"
+#define METHODNAME "CALL_STR_EXAMPLE_main"
 #define NRARGS 0
 #define NRES 0
   owner = get_glob_type();
@@ -66,7 +66,7 @@ int main(int argc, char **argv)
   set_method_param_type(proc_called, 0, string_ptr);
 
   /* Make the entity for main needed for a correct  ir_graph.  */
-#define ENTITYNAME "main"
+#define ENTITYNAME "CALL_STR_EXAMPLE_main"
   ent = new_entity (owner, id_from_str (ENTITYNAME, strlen(ENTITYNAME)),
                     proc_main);