X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fditto.c;h=387f7077f757303fccce7f27aa3b100616b620ea;hp=93fbe02805cb91cf1a3c06ca9005ec1550d25a31;hb=c04d54322f7835ed42e597967d8fa5471025fcac;hpb=dfaa1a3001fd447819f5edc2e523acc1a04f1440 diff --git a/test/ditto.c b/test/ditto.c index 93fbe028..387f7077 100644 --- a/test/ditto.c +++ b/test/ditto.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * + * Copyright (c) 1998-2008,2009 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 * @@ -29,7 +29,7 @@ /* * Author: Thomas E. Dickey (1998-on) * - * $Id: ditto.c,v 1.34 2009/07/17 00:07:25 tom Exp $ + * $Id: ditto.c,v 1.35 2009/10/24 21:33:24 tom Exp $ * * The program illustrates how to set up multiple screens from a single * program. @@ -43,7 +43,6 @@ */ #include #include -#include #ifdef USE_PTHREADS #include @@ -379,7 +378,7 @@ main(int argc, char *argv[]) if (argc <= 1) usage(); - + if ((data = typeCalloc(DITTO, (size_t) argc)) == 0) failed("calloc data");