From: Arnaud Giersch Date: Tue, 28 Feb 2012 17:23:28 +0000 (+0100) Subject: Cosmetics: s/overide/override/g. X-Git-Tag: exp_20120308~12 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/32f27222ab67754a105f8530364e3d29e9777658 Cosmetics: s/overide/override/g. --- diff --git a/buildtools/Cmake/CompleteInFiles.cmake b/buildtools/Cmake/CompleteInFiles.cmake index 5cd41c2574..e00a914585 100644 --- a/buildtools/Cmake/CompleteInFiles.cmake +++ b/buildtools/Cmake/CompleteInFiles.cmake @@ -197,10 +197,10 @@ endif(enable_latency_bound_tracking) if(enable_model-checking AND HAVE_MMAP) SET(HAVE_MC 1) - SET(MMALLOC_WANT_OVERIDE_LEGACY 1) + SET(MMALLOC_WANT_OVERRIDE_LEGACY 1) else(enable_model-checking AND HAVE_MMAP) SET(HAVE_MC 0) - SET(MMALLOC_WANT_OVERIDE_LEGACY 0) + SET(MMALLOC_WANT_OVERRIDE_LEGACY 0) endif(enable_model-checking AND HAVE_MMAP) #-------------------------------------------------------------------------------------------------- diff --git a/buildtools/Cmake/gras_config.h.in b/buildtools/Cmake/gras_config.h.in index fe82221115..68995919d1 100644 --- a/buildtools/Cmake/gras_config.h.in +++ b/buildtools/Cmake/gras_config.h.in @@ -46,7 +46,7 @@ #endif #endif /* Set to true if enable_model-checking is true */ -#cmakedefine MMALLOC_WANT_OVERIDE_LEGACY @MMALLOC_WANT_OVERIDE_LEGACY@ +#cmakedefine MMALLOC_WANT_OVERRIDE_LEGACY @MMALLOC_WANT_OVERRIDE_LEGACY@ #cmakedefine HAVE_MC @HAVE_MC@ /* Set to true if have the mergesort function */ diff --git a/src/surf/surfxml_parse.c b/src/surf/surfxml_parse.c index 28eb7f8256..83a60473e3 100644 --- a/src/surf/surfxml_parse.c +++ b/src/surf/surfxml_parse.c @@ -59,7 +59,7 @@ int surf_parse_get_int(const char *string) { /* - * All the callback lists that can be overiden anywhere. + * All the callback lists that can be overridden anywhere. * (this list should probably be reduced to the bare minimum to allow the models to work) */ diff --git a/src/xbt/mmalloc/mm_legacy.c b/src/xbt/mmalloc/mm_legacy.c index e88538ab89..f7d0f71fd2 100644 --- a/src/xbt/mmalloc/mm_legacy.c +++ b/src/xbt/mmalloc/mm_legacy.c @@ -30,7 +30,7 @@ void mmalloc_set_current_heap(xbt_mheap_t new_heap) __mmalloc_current_heap = new_heap; } -#ifdef MMALLOC_WANT_OVERIDE_LEGACY +#ifdef MMALLOC_WANT_OVERRIDE_LEGACY void *malloc(size_t n) { xbt_mheap_t mdp = __mmalloc_current_heap ?: (xbt_mheap_t) mmalloc_preinit(); diff --git a/src/xbt/xbt_main.c b/src/xbt/xbt_main.c index 61522a6c43..e536bf56a7 100644 --- a/src/xbt/xbt_main.c +++ b/src/xbt/xbt_main.c @@ -106,7 +106,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, static void xbt_preinit(void) { -#ifdef MMALLOC_WANT_OVERIDE_LEGACY +#ifdef MMALLOC_WANT_OVERRIDE_LEGACY mmalloc_preinit(); #endif xbt_log_preinit(); @@ -164,7 +164,7 @@ static void xbt_postexit(void) xbt_os_thread_mod_postexit(); free(xbt_binary_name); -#ifdef MMALLOC_WANT_OVERIDE_LEGACY +#ifdef MMALLOC_WANT_OVERRIDE_LEGACY mmalloc_postexit(); #endif }