~ubuntu-branches/debian/sid/ncurses/sid-200908151543

« back to all changes in this revision

Viewing changes to include/capdefaults.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-05-24 15:13:01 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090524151301-uixgxq2zonfov2nr
Tags: 5.7+20090523-1
MergingĀ upstreamĀ versionĀ 5.7+20090523.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 *     and: Thomas E. Dickey                        1996-on                 *
33
33
 ****************************************************************************/
34
34
 
35
 
/* $Id: capdefaults.c,v 1.13 2008/08/04 12:33:42 tom Exp $ */
 
35
/* $Id: capdefaults.c,v 1.14 2008/11/16 00:19:59 juergen Exp $ */
36
36
 
37
37
    /*
38
38
     * Compute obsolete capabilities.  The reason this is an include file is
44
44
     * postprocess_termcap().
45
45
     */
46
46
{
47
 
    char *sp;
 
47
    char *strp;
48
48
    short capval;
49
49
 
50
50
#define EXTRACT_DELAY(str) \
51
 
        (short) (sp = strchr(str, '*'), sp ? atoi(sp+1) : 0)
 
51
        (short) (strp = strchr(str, '*'), strp ? atoi(strp+1) : 0)
52
52
 
53
53
    /* current (4.4BSD) capabilities marked obsolete */
54
54
    if (VALID_STRING(carriage_return)