From: Nicholas Nethercote Date: Wed, 13 Oct 2004 17:58:36 +0000 (+0000) Subject: Rename hoops() as main() -- much clearer. X-Git-Tag: svn/VALGRIND_3_0_0~1535 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fbe7a298b80b1c93fe2f1eee993bb18d0c411cd4;p=thirdparty%2Fvalgrind.git Rename hoops() as main() -- much clearer. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2758 --- diff --git a/coregrind/stage1.c b/coregrind/stage1.c index d056a1a161..5b4e4dbf91 100644 --- a/coregrind/stage1.c +++ b/coregrind/stage1.c @@ -248,7 +248,7 @@ static int prmap(char *start, char *end, const char *perm, off_t off, int maj, return 1; } -static void hoops(void) +static void main2(void) { int err, padfile; struct exeinfo info; @@ -311,7 +311,7 @@ int main(void) setrlimit(RLIMIT_AS, &rlim); /* move onto another stack so we can play with the main one */ - jmp_with_stack((addr_t)hoops, (addr_t)stack + sizeof(stack)); + jmp_with_stack((addr_t)main2, (addr_t)stack + sizeof(stack)); } /*--------------------------------------------------------------------*/