=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/regress.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/make/regress.c 2000/07/17 23:03:50 1.2 --- src/usr.bin/make/regress.c 2001/05/03 13:41:10 1.3 *************** *** 1,10 **** ! /* $OpenBSD: regress.c,v 1.2 2000/07/17 23:03:50 espie Exp $ */ /* * Copyright (c) 1999 Marc Espie. * * Code written for the OpenBSD project. ! * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: --- 1,11 ---- ! /* $OpenPackages$ */ ! /* $OpenBSD: regress.c,v 1.3 2001/05/03 13:41:10 espie Exp $ */ /* * Copyright (c) 1999 Marc Espie. * * Code written for the OpenBSD project. ! * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: *************** *** 31,49 **** #include "make.h" #include ! int main __P((void)); #define CHECK(s) \ do { \ printf("%-65s", #s); \ if (s) \ ! printf("ok\n"); \ else { \ ! printf("failed\n"); \ errors++; \ } \ } while (0); ! int main() { unsigned int errors = 0; --- 32,50 ---- #include "make.h" #include ! int main(void); #define CHECK(s) \ do { \ printf("%-65s", #s); \ if (s) \ ! printf("ok\n"); \ else { \ ! printf("failed\n"); \ errors++; \ } \ } while (0); ! int main() { unsigned int errors = 0;