; Fix byte-compilation warnings in lua-ts-mode.el
[emacs.git] / admin / coccinelle / process.cocci
blobbf295ab7b6f52cd42b27a87497c6ed727af8ce70
1 // Change direct access to Lisp_Object fields of struct Lisp_Process to PVAR.
2 @@
3 struct Lisp_Process *P;
4 Lisp_Object O;
5 @@
7 - P->tty_name
8 + PVAR (P, tty_name)
10 - P->name
11 + PVAR (P, name)
13 - P->command
14 + PVAR (P, command)
16 - P->filter
17 + PVAR (P, filter)
19 - P->sentinel
20 + PVAR (P, sentinel)
22 - P->log
23 + PVAR (P, log)
25 - P->buffer
26 + PVAR (P, buffer)
28 - P->childp
29 + PVAR (P, childp)
31 - P->plist
32 + PVAR (P, plist)
34 - P->type
35 + PVAR (P, type)
37 - P->mark
38 + PVAR (P, mark)
40 - P->status
41 + PVAR (P, status)
43 - P->decode_coding_system
44 + PVAR (P, decode_coding_system)
46 - P->decoding_buf
47 + PVAR (P, decoding_buf)
49 - P->encode_coding_system
50 + PVAR (P, encode_coding_system)
52 - P->encoding_buf
53 + PVAR (P, encoding_buf)
55 - P->write_queue
56 + PVAR (P, write_queue)
60 - XPROCESS (O)->tty_name
61 + PVAR (XPROCESS (O), tty_name)
63 - XPROCESS (O)->name
64 + PVAR (XPROCESS (O), name)
66 - XPROCESS (O)->command
67 + PVAR (XPROCESS (O), command)
69 - XPROCESS (O)->filter
70 + PVAR (XPROCESS (O), filter)
72 - XPROCESS (O)->sentinel
73 + PVAR (XPROCESS (O), sentinel)
75 - XPROCESS (O)->log
76 + PVAR (XPROCESS (O), log)
78 - XPROCESS (O)->buffer
79 + PVAR (XPROCESS (O), buffer)
81 - XPROCESS (O)->childp
82 + PVAR (XPROCESS (O), childp)
84 - XPROCESS (O)->plist
85 + PVAR (XPROCESS (O), plist)
87 - XPROCESS (O)->type
88 + PVAR (XPROCESS (O), type)
90 - XPROCESS (O)->mark
91 + PVAR (XPROCESS (O), mark)
93 - XPROCESS (O)->status
94 + PVAR (XPROCESS (O), status)
96 - XPROCESS (O)->decode_coding_system
97 + PVAR (XPROCESS (O), decode_coding_system)
99 - XPROCESS (O)->decoding_buf
100 + PVAR (XPROCESS (O), decoding_buf)
102 - XPROCESS (O)->encode_coding_system
103 + PVAR (XPROCESS (O), encode_coding_system)
105 - XPROCESS (O)->encoding_buf
106 + PVAR (XPROCESS (O), encoding_buf)
108 - XPROCESS (O)->write_queue
109 + PVAR (XPROCESS (O), write_queue)