projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace XCALLOC with XCNEWVEC or XCNEW
[deliverable/binutils-gdb.git]
/
gdb
/
serial.c
diff --git
a/gdb/serial.c
b/gdb/serial.c
index c87875fc96b7c415791aebbef194fa1d886072b6..2b1ecedae38801f17fe6db66c7bd08f3f94cb4c9 100644
(file)
--- a/
gdb/serial.c
+++ b/
gdb/serial.c
@@
-263,7
+263,7
@@
serial_fdopen_ops (const int fd, const struct serial_ops *ops)
if (!ops)
return NULL;
- scb = XC
ALLOC (1,
struct serial);
+ scb = XC
NEW (
struct serial);
scb->ops = ops;
This page took
0.036772 seconds
and
4
git commands to generate.