[svn:parrot] r46921 - in trunk: include/parrot src

plobsing at svn.parrot.org plobsing at svn.parrot.org
Sun May 23 21:12:17 UTC 2010


Author: plobsing
Date: Sun May 23 21:12:16 2010
New Revision: 46921
URL: https://trac.parrot.org/parrot/changeset/46921

Log:
use PARROT_DATA in stead of PARROT_EXPORT for global constant

Modified:
   trunk/include/parrot/longopt.h
   trunk/src/longopt.c

Modified: trunk/include/parrot/longopt.h
==============================================================================
--- trunk/include/parrot/longopt.h	Sun May 23 21:07:52 2010	(r46920)
+++ trunk/include/parrot/longopt.h	Sun May 23 21:12:16 2010	(r46921)
@@ -51,7 +51,7 @@
 #define OPT_RUNTIME_PREFIX 132
 #define OPT_HASH_SEED      133
 
-PARROT_EXPORT
+PARROT_DATA
 const struct longopt_opt_decl Parrot_cmd_options[];
 
 /* HEADERIZER BEGIN: src/longopt.c */

Modified: trunk/src/longopt.c
==============================================================================
--- trunk/src/longopt.c	Sun May 23 21:07:52 2010	(r46920)
+++ trunk/src/longopt.c	Sun May 23 21:12:16 2010	(r46921)
@@ -62,7 +62,7 @@
 
 static char longopt_error_buffer[512];
 
-PARROT_EXPORT
+PARROT_DATA
 const struct longopt_opt_decl Parrot_cmd_options[] = {
     { '.', '.', (OPTION_flags)0, { "--wait" } },
     { 'D', 'D', OPTION_optional_FLAG, { "--parrot-debug" } },


More information about the parrot-commits mailing list