Deleted Added
full compact
b-strcmp.c (98121) b-strcmp.c (141858)
1/*
1/*
2 * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
2 * Copyright (c) 2000-2001, 2004 Sendmail, Inc. and its suppliers.
3 * All rights reserved.
4 *
5 * By using this file, you agree to the terms and conditions set
6 * forth in the LICENSE file which can be found at the top level of
7 * the sendmail distribution.
8 */
9
10#include <sm/gen.h>
3 * All rights reserved.
4 *
5 * By using this file, you agree to the terms and conditions set
6 * forth in the LICENSE file which can be found at the top level of
7 * the sendmail distribution.
8 */
9
10#include <sm/gen.h>
11SM_RCSID("@(#)$Id: b-strcmp.c,v 1.12 2001/09/11 04:04:47 gshapiro Exp $")
11SM_RCSID("@(#)$Id: b-strcmp.c,v 1.13 2004/08/03 20:07:59 ca Exp $")
12#include <stdio.h>
13#include <stdlib.h>
14#include <unistd.h>
15#include <sys/types.h>
16#include <sys/time.h>
17#include <sm/string.h>
18
19#define toseconds(x, y) (x.tv_sec - y.tv_sec)
20#define SIZE 512
21#define LOOPS 4000000L /* initial number of loops */
22#define MAXTIME 30L /* "maximum" time to run single test */
23
12#include <stdio.h>
13#include <stdlib.h>
14#include <unistd.h>
15#include <sys/types.h>
16#include <sys/time.h>
17#include <sm/string.h>
18
19#define toseconds(x, y) (x.tv_sec - y.tv_sec)
20#define SIZE 512
21#define LOOPS 4000000L /* initial number of loops */
22#define MAXTIME 30L /* "maximum" time to run single test */
23
24void fatal __P((char *));
25void purpose __P((void));
26int main __P((int, char *[]));
27
24void
25fatal(str)
26 char *str;
27{
28 perror(str);
29 exit(1);
30}
31

--- 117 unchanged lines hidden ---
28void
29fatal(str)
30 char *str;
31{
32 perror(str);
33 exit(1);
34}
35

--- 117 unchanged lines hidden ---