X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Ftestcurs.c;h=06d70d8430956e0e5db178cdf0920d16c5a1e1a4;hp=f9716e971bcbe19c5ffb4a3d06ece0d3296690f2;hb=5ae2721913c0d2adde0d65063e37a723bf8a0987;hpb=b6d0d9ad9e372e856f01a4c283cf784a15993903 diff --git a/test/testcurs.c b/test/testcurs.c index f9716e97..06d70d84 100644 --- a/test/testcurs.c +++ b/test/testcurs.c @@ -6,7 +6,7 @@ * wrs(5/28/93) -- modified to be consistent (perform identically) with either * PDCurses or under Unix System V, R4 * - * $Id: testcurs.c,v 1.44 2012/06/09 19:10:45 tom Exp $ + * $Id: testcurs.c,v 1.45 2012/11/03 19:27:18 tom Exp $ */ #include @@ -45,18 +45,6 @@ static const COMMAND command[] = }; #define MAX_OPTIONS (int) SIZEOF(command) -#if !HAVE_STRDUP -#define strdup my_strdup -static char * -strdup(char *s) -{ - char *p = typeMalloc(char, strlen(s) + 1); - if (p) - strcpy(p, s); - return (p); -} -#endif /* not HAVE_STRDUP */ - static int width, height; int