/[dtapublic]/projs/ets/trunk/src/lib_c/c_datd/cmalloc.c
ViewVC logotype

Diff of /projs/ets/trunk/src/lib_c/c_datd/cmalloc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

projs/ets/trunk/src/lib_c/c_cmode/ccmalloc.c revision 233 by dashley, Sun Jul 22 16:09:29 2018 UTC projs/ets/trunk/src/lib_c/c_datd/cmalloc.c revision 234 by dashley, Mon Jul 30 02:54:27 2018 UTC
# Line 24  Line 24 
24  //OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE  //OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25  //SOFTWARE.  //SOFTWARE.
26  //-------------------------------------------------------------------------------------------------  //-------------------------------------------------------------------------------------------------
27  #define MODULE_CCMALLOC  #define MODULE_CMALLOC
28    
29  #include <malloc.h>  #include <malloc.h>
30  #include <process.h>  #include <process.h>
31  #include <stdio.h>  #include <stdio.h>
32    
33  #include "ccmalloc.h"  #include "cmalloc.h"
34    
35  #include "ccmfatal.h"  #include "../c_cmode/ccmfatal.h"
36    
37    
38  void *CCMALLOC_malloc( size_t size )  void *CMALLOC_malloc( size_t size )
39     {     {
40     void *rv;     void *rv;
41    
# Line 52  void *CCMALLOC_malloc( size_t size ) Line 52  void *CCMALLOC_malloc( size_t size )
52     }     }
53    
54    
55  void *CCMALLOC_calloc( size_t num, size_t size )  void *CMALLOC_calloc( size_t num, size_t size )
56     {     {
57     void *rv;     void *rv;
58    
# Line 65  void *CCMALLOC_calloc( size_t num, size_ Line 65  void *CCMALLOC_calloc( size_t num, size_
65                       __LINE__);                       __LINE__);
66        }        }
67    
68     return(rv);       return(rv);
69     }     }
70    
71  void *CCMALLOC_realloc( void *memblock, size_t size )  void *CMALLOC_realloc( void *memblock, size_t size )
72     {     {
73     void *rv;     void *rv;
74    
# Line 81  void *CCMALLOC_realloc( void *memblock, Line 81  void *CCMALLOC_realloc( void *memblock,
81                       __LINE__);                       __LINE__);
82        }        }
83    
84     return(rv);       return(rv);
85     }     }
86    
87    
88  void CCMALLOC_free( void *memblock )  void CMALLOC_free( void *memblock )
89     {     {
90     free(memblock);     free(memblock);
91     }     }
92    
93    
94  const char *CCMALLOC_cvcinfo(void)  const char *CMALLOC_cvcinfo(void)
95     {     {
96     return("$Header$");     return("$Header$");
97     }     }
98    
99    
100  const char *CCMALLOC_hvcinfo(void)  const char *CMALLOC_hvcinfo(void)
101     {     {
102     return(CCMALLOC_H_VERSION);     return(CMALLOC_H_VERSION);
103     }     }
104    
105  //End of ccmalloc.c.  //End of cmalloc.c.

Legend:
Removed from v.233  
changed lines
  Added in v.234

dashley@gmail.com
ViewVC Help
Powered by ViewVC 1.1.25