mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
31 lines
332 B
Plaintext
31 lines
332 B
Plaintext
|
@@
|
||
|
expression s;
|
||
|
@@
|
||
|
- memset(&s, 0, sizeof(s))
|
||
|
+ zero(s)
|
||
|
@@
|
||
|
expression s;
|
||
|
@@
|
||
|
- memset(s, 0, sizeof(*s))
|
||
|
+ zero(*s)
|
||
|
@@
|
||
|
expression s;
|
||
|
@@
|
||
|
- bzero(&s, sizeof(s))
|
||
|
+ zero(s)
|
||
|
@@
|
||
|
expression s;
|
||
|
@@
|
||
|
- bzero(s, sizeof(*s))
|
||
|
+ zero(*s)
|
||
|
@@
|
||
|
expression a, b;
|
||
|
@@
|
||
|
- memset(a, 0, b)
|
||
|
+ memzero(a, b)
|
||
|
@@
|
||
|
expression a, b;
|
||
|
@@
|
||
|
- bzero(a, b)
|
||
|
+ memzero(a, b)
|