local prototypes in `dlmain.c'
This commit is contained in:
parent
db9125fecc
commit
4ca91fbd82
|
|
@ -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 ,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue