File: ansireserved.expect

package info (click to toggle)
splint 3.1.2.dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 12,908 kB
  • ctags: 15,816
  • sloc: ansic: 150,306; yacc: 3,463; sh: 3,426; makefile: 2,217; lex: 412
file content (84 lines) | stat: -rw-r--r-- 4,761 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84

ansireserved.c:9: Name EVANS is reserved for future library extensions. Macros
    beginning with E and a digit or uppercase letter may be added to <errno.h>.
    (ISO99:7.26.3)
ansireserved.c:1:5: Name decimal_point is reserved for the standard library
ansireserved.c:2:5: Name srand is reserved for the standard library
ansireserved.c:3:5: Name labs is reserved for the standard library
ansireserved.c:4:5: Name _x is in the implementation name space (any identifier
                       beginning with underscore)
ansireserved.c:5:5: Name atan2f is reserved for future library extensions.  The
    names of all existing functions in <math.h> suffixed with 'f' or 'l' may be
    added to <math.h>. (ISO:7.26.1)
ansireserved.c:7:13: Name wcst is reserved for future library extensions. 
    Functions that begin with "mem" or "wcs" and a lowercase letter may be
    added to <string.h>. (ISO:7.26.11)
ansireserved.c:11:5: Name isaFish is reserved for future library extensions. 
    Functions beginning with "is" or "to" and a lowercase letter may be added
    to <ctype.h>. (ISO99:7.26.2)
ansireserved.c: (in function isaFish)
ansireserved.c:16:20: Name wctomb is reserved for the standard library

Finished checking --- 9 code warnings, as expected

ansireserved.c:9: Name EVANS is reserved for future library extensions. Macros
    beginning with E and a digit or uppercase letter may be added to <errno.h>.
    (ISO99:7.26.3)
ansireserved.c:1:5: Name decimal_point is reserved for the standard library
ansireserved.c:2:5: Name srand is reserved for the standard library
ansireserved.c:3:5: Name labs is reserved for the standard library
ansireserved.c:4:5: Name _x is in the implementation name space (any identifier
                       beginning with underscore)
ansireserved.c:5:5: Name atan2f is reserved for future library extensions.  The
    names of all existing functions in <math.h> suffixed with 'f' or 'l' may be
    added to <math.h>. (ISO:7.26.1)
ansireserved.c:7:13: Name wcst is reserved for future library extensions. 
    Functions that begin with "mem" or "wcs" and a lowercase letter may be
    added to <string.h>. (ISO:7.26.11)
ansireserved.c:11:5: Name isaFish is reserved for future library extensions. 
    Functions beginning with "is" or "to" and a lowercase letter may be added
    to <ctype.h>. (ISO99:7.26.2)
ansireserved.c: (in function isaFish)
ansireserved.c:13:20: Name powl is reserved for future library extensions.  The
    names of all existing functions in <math.h> suffixed with 'f' or 'l' may be
    added to <math.h>. (ISO:7.26.1)
ansireserved.c:15:22: Name memory is reserved for future library extensions. 
    Functions that begin with "mem" or "wcs" and a lowercase letter may be
    added to <string.h>. (ISO:7.26.11)
ansireserved.c:16:20: Name wctomb is reserved for the standard library

Finished checking --- 11 code warnings, as expected

ansireserved.c:9: Name EVANS is reserved for future library extensions. Macros
    beginning with E and a digit or uppercase letter may be added to <errno.h>.
    (ISO99:7.26.3)
ansireserved.c:1:5: Name decimal_point is reserved for the standard library
ansireserved.c:2:5: Function srand inconsistently declared as variable: int
   load file standard.lcd: Specification of srand as function:
   [function (unsigned int) returns void]
ansireserved.c:2:5: Name srand is reserved for the standard library
ansireserved.c:3:5: Function labs inconsistently declared as variable: int
   load file standard.lcd: Specification of labs as function:
   [function (long int) returns long int]
ansireserved.c:3:5: Name labs is reserved for the standard library
ansireserved.c:4:5: Name _x is in the implementation name space (any identifier
                       beginning with underscore)
ansireserved.c:5:5: Name atan2f is reserved for future library extensions.  The
    names of all existing functions in <math.h> suffixed with 'f' or 'l' may be
    added to <math.h>. (ISO:7.26.1)
ansireserved.c:7:13: Name wcst is reserved for future library extensions. 
    Functions that begin with "mem" or "wcs" and a lowercase letter may be
    added to <string.h>. (ISO:7.26.11)
ansireserved.c:11:5: Name isaFish is reserved for future library extensions. 
    Functions beginning with "is" or "to" and a lowercase letter may be added
    to <ctype.h>. (ISO99:7.26.2)
ansireserved.c: (in function isaFish)
ansireserved.c:16:20: Name wctomb is reserved for the standard library
ansireserved.c:5:5: Function atan2f declared but not defined

Finished checking --- 12 code warnings, as expected

ansireserved2.c:4:2: Name _s1 is in the implementation name space (any
                        identifier beginning with underscore)

Finished checking --- 1 code warning, as expected