local prototypes in `dlmain.c'

This commit is contained in:
rlar 2010-11-02 17:21:49 +00:00
parent db9125fecc
commit 4ca91fbd82
2 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-11-02 Robert Larice
* src/xspice/icm/dlmain.c :
local prototypes in `dlmain.c'
2010-11-02 Robert Larice
* src/frontend/arg.c ,
* src/misc/misc_time.c ,

View File

@ -47,9 +47,20 @@ struct coreInfo_t *coreitf;
#ifdef CM_LINUX
#undef CM_EXPORT
#define CM_EXPORT extern
#define CM_EXPORT
#endif
extern CM_EXPORT void *CMdevs(void);
extern CM_EXPORT void *CMdevNum(void);
extern CM_EXPORT void *CMudns(void);
extern CM_EXPORT void *CMudnNum(void);
extern CM_EXPORT void *CMgetCoreItfPtr(void);
extern void *tmalloc(size_t num);
extern void *trealloc(void *str, size_t num);
extern void txfree(void *ptr);
// This one returns the device table
CM_EXPORT void *CMdevs(void) {
return (void *)cmDEVices;