1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00

Add locbwcss and locusss to the test suite on os x, freebsd and linux.

Add const qualifier so that locbwcss and locusss compile without warnings.
Build djbench and gcbench on FreeBSD and Linux.
Don't include <alloca.h> -- alloca is in stdlib.h.

Copied from Perforce
 Change: 184689
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Gareth Rees 2014-03-08 00:24:04 +00:00
parent 8e92959b44
commit d2b6956f6a
5 changed files with 256 additions and 15 deletions

View file

@ -1,7 +1,7 @@
/* locbwcss.c: LOCUS BACKWARDS COMPATIBILITY STRESS TEST
*
* $Id$
* Copyright (c) 2001-2013 Ravenbrook Limited. See end of file for license.
* Copyright (c) 2001-2014 Ravenbrook Limited. See end of file for license.
*/
#include "mpscmvff.h"
@ -129,7 +129,7 @@ static void allocMultiple(PoolStat stat)
/* reportResults - print a report on a PoolStat */
static void reportResults(PoolStat stat, char *name)
static void reportResults(PoolStat stat, const char *name)
{
printf("\nResults for ");
fputs(name, stdout);
@ -210,7 +210,7 @@ int main(int argc, char *argv[])
/* C. COPYRIGHT AND LICENSE
*
* Copyright (c) 2001-2013 Ravenbrook Limited <http://www.ravenbrook.com/>.
* Copyright (c) 2001-2014 Ravenbrook Limited <http://www.ravenbrook.com/>.
* All rights reserved. This is an open source license. Contact
* Ravenbrook for commercial licensing options.
*