Changeset f89565 in git


Ignore:
Timestamp:
Nov 2, 2012, 2:28:00 PM (11 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
5caede8b6a6317efbf12384a421e0c5b35f8838d
Parents:
f900d1879c47a499452b237bd96ba9e06cfbad96
Message:
fix warnings: C++ comments in C code
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/mmstd.c

    rf900d1 rf89565  
    1212#include <omalloc/omalloc.h>
    1313
    14 // we provide these functions, so that the settings of OM_CHECK
    15 // and OM_TRACK are used, but only provide them if omalloc is not based
    16 // on them
    17 // already provided in libomalloc
     14/* we provide these functions, so that the settings of OM_CHECK
     15* and OM_TRACK are used, but only provide them if omalloc is not based
     16* on them
     17* already provided in libomalloc */
    1818#if !defined(OMALLOC_USES_MALLOC) && !defined(X_OMALLOC)
    1919
     
    2323/* do not rely on the default in Singular as libsingular may be different */
    2424
    25 // define this so that all addr allocated there are marked
    26 // as static, i.e. not metioned by omPrintUsedAddr
     25/* define this so that all addr allocated there are marked
     26* as static, i.e. not metioned by omPrintUsedAddr*/
    2727#define OM_MALLOC_MARK_AS_STATIC
    2828#define strdup_ strdup__
  • kernel/mod2.h

    rf900d1 rf89565  
    373373extern "C" {
    374374#endif
    375 // routine which is used to report the error
    376 // returns 0
     375/* routine which is used to report the error/
     376* returns 0 */
    377377extern int dReportError(const char* fmt, ...);
    378 // within a debugger, set a breakpoint on dErrorBreak
    379 // which is called after the error has been reported
     378/* within a debugger, set a breakpoint on dErrorBreak
     379* which is called after the error has been reported */
    380380extern void dErrorBreak();
    381381#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.