Changeset c0180f in git for omalloc


Ignore:
Timestamp:
May 6, 2009, 12:28:33 PM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
73a442e7b74829bec76a708aac3cf9bbc716720b
Parents:
348034fcec133223cc4cd1228a3835823dd64b12
Message:
*hannes: more const


git-svn-id: file:///usr/local/Singular/svn/trunk@11777 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
omalloc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • omalloc/omDebugCheck.c

    r348034 rc0180f  
    44 *  Author:  obachman@mathematik.uni-kl.de (Olaf Bachmann)
    55 *  Created: 11/99
    6  *  Version: $Id: omDebugCheck.c,v 1.14 2002-01-22 16:17:43 Singular Exp $
     6 *  Version: $Id: omDebugCheck.c,v 1.15 2009-05-06 10:28:33 Singular Exp $
    77 *******************************************************************/
    88#include <mylimits.h>
     
    2626static omError_t omDoCheckBinPage(omBinPage page, int normal_page, int level,
    2727                                  omError_t report, OM_FLR_DECL);
    28 static void _omPrintAddrInfo(FILE* fd, omError_t error, void* addr, void* bin_size, omTrackFlags_t flags, int max_frames, char* s);
     28static void _omPrintAddrInfo(FILE* fd, omError_t error, void* addr, void* bin_size, omTrackFlags_t flags, int max_frames, const char* s);
    2929
    3030
     
    419419}
    420420
    421 void _omPrintAddrInfo(FILE* fd, omError_t error, void* addr, void* bin_size, omTrackFlags_t flags, int frames, char* s)
     421void _omPrintAddrInfo(FILE* fd, omError_t error, void* addr, void* bin_size, omTrackFlags_t flags, int frames, const char* s)
    422422{
    423423  int x;
     
    443443}
    444444
    445 void omPrintAddrInfo(FILE* fd, void *addr, char* s)
     445void omPrintAddrInfo(FILE* fd, void *addr, const char* s)
    446446{
    447447  _omPrintAddrInfo(fd, omError_NoError, addr, NULL, 0, 10, s);
  • omalloc/omError.h

    r348034 rc0180f  
    44 *  Author:  obachman (Olaf Bachmann)
    55 *  Created: 11/99
    6  *  Version: $Id: omError.h,v 1.8 2001-04-30 09:02:06 Singular Exp $
     6 *  Version: $Id: omError.h,v 1.9 2009-05-06 10:28:33 Singular Exp $
    77 *******************************************************************/
    88#ifndef OM_ERROR_H
     
    6060
    6161#ifndef OM_NDEBUG
    62 extern void omPrintAddrInfo(FILE* fd, void* addr, char* s);
     62extern void omPrintAddrInfo(FILE* fd, void* addr, const char* s);
    6363#else
    6464#define omPrintAddrInfo(fd, addr, s) fprintf(fd, "OM_NDEBUG: no addr info available\n")
Note: See TracChangeset for help on using the changeset viewer.