]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Rename hoops() as main() -- much clearer.
authorNicholas Nethercote <n.nethercote@gmail.com>
Wed, 13 Oct 2004 17:58:36 +0000 (17:58 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Wed, 13 Oct 2004 17:58:36 +0000 (17:58 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2758

coregrind/stage1.c

index d056a1a161ac2479a868cb18cf7a21493a1c79da..5b4e4dbf91cba3c9862f5e6a5296c3d924db5e60 100644 (file)
@@ -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));
 }
 
 /*--------------------------------------------------------------------*/