X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fhashtest.c;h=737731ea61298dfae2f687259bcd2d74f00dc891;hp=64ab11a54a39f5bc7db2738a86bc45123faa4d0a;hb=d44d7f381ba0173521cb788ba3adb12e261e5c96;hpb=027ae42953e3186daed8f3882da73de48291b606 diff --git a/test/hashtest.c b/test/hashtest.c index 64ab11a5..737731ea 100644 --- a/test/hashtest.c +++ b/test/hashtest.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2005,2006 Free Software Foundation, Inc. * + * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -30,17 +30,9 @@ * * Generate timing statistics for vertical-motion optimization. * - * $Id: hashtest.c,v 1.26 2006/05/20 16:02:16 tom Exp $ + * $Id: hashtest.c,v 1.28 2008/02/23 23:02:41 tom Exp $ */ -#ifdef TRACE -#define Trace(p) _tracef p -#define USE_TRACE 1 -#else -#define Trace(p) /* nothing */ -#define USE_TRACE 0 -#endif - #include #define LO_CHAR ' ' @@ -190,7 +182,7 @@ main(int argc, char *argv[]) setlocale(LC_ALL, ""); - while ((c = getopt(argc, argv, "cf:h:l:norsx")) != EOF) { + while ((c = getopt(argc, argv, "cf:h:l:norsx")) != -1) { switch (c) { case 'c': continuous = TRUE;