X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=include%2Fcapdefaults.c;h=da76cc1d7a57d8d7fad3679cd70c21e31888f710;hp=33f2fe8f029909a71105646fa442b822e74d4937;hb=336aa0803853f7961dd31f1e35cd688d861ffd64;hpb=8f527f87c0b979d9c2598ef5c3394463af288468 diff --git a/include/capdefaults.c b/include/capdefaults.c index 33f2fe8f..da76cc1d 100644 --- a/include/capdefaults.c +++ b/include/capdefaults.c @@ -32,7 +32,7 @@ * and: Thomas E. Dickey 1996-on * ****************************************************************************/ -/* $Id: capdefaults.c,v 1.13 2008/08/04 12:33:42 tom Exp $ */ +/* $Id: capdefaults.c,v 1.14 2008/11/16 00:19:59 juergen Exp $ */ /* * Compute obsolete capabilities. The reason this is an include file is @@ -44,11 +44,11 @@ * postprocess_termcap(). */ { - char *sp; + char *strp; short capval; #define EXTRACT_DELAY(str) \ - (short) (sp = strchr(str, '*'), sp ? atoi(sp+1) : 0) + (short) (strp = strchr(str, '*'), strp ? atoi(strp+1) : 0) /* current (4.4BSD) capabilities marked obsolete */ if (VALID_STRING(carriage_return)