diff --git a/src/program.c b/src/program.c index e940b7e9839ce2dc42dc5b5d3ecc9904dd99bafa..45c25c6f4a2a2a5d3bc6e381b06012015642d1d6 100644 --- a/src/program.c +++ b/src/program.c @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: program.c,v 1.716 2008/06/01 11:19:58 grubba Exp $ +|| $Id: program.c,v 1.717 2008/06/02 15:43:29 mast Exp $ */ #include "global.h" @@ -10166,7 +10166,7 @@ static struct get_storage_cache ptrdiff_t offset; } get_storage_cache[GET_STORAGE_CACHE_SIZE]; -ptrdiff_t low_get_storage(struct program *o, struct program *p) +PMOD_EXPORT ptrdiff_t low_get_storage(struct program *o, struct program *p) { INT32 oid, pid; ptrdiff_t offset; diff --git a/src/program.h b/src/program.h index 6a1ddbc58a160566fc6e29e351540de4e5a7f252..585268f4824a9286ff841a7d517b770184bad167 100644 --- a/src/program.h +++ b/src/program.h @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: program.h,v 1.250 2008/05/31 16:21:30 grubba Exp $ +|| $Id: program.h,v 1.251 2008/06/02 15:43:30 mast Exp $ */ #ifndef PROGRAM_H @@ -959,7 +959,7 @@ void push_compiler_frame(int lexical_scope); void low_pop_local_variables(int level); void pop_local_variables(int level); void pop_compiler_frame(void); -ptrdiff_t low_get_storage(struct program *o, struct program *p); +PMOD_EXPORT ptrdiff_t low_get_storage(struct program *o, struct program *p); PMOD_EXPORT char *get_storage(struct object *o, struct program *p); struct program *low_program_from_function(struct object *o, INT32 i); PMOD_EXPORT struct program *program_from_function(const struct svalue *f);