projects
/
graphviz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27dcd2c
)
cgraph: realign 'agmapnametoid' parameter name with its definition
author
Matthew Fernandez
<matthew.fernandez@gmail.com>
Thu, 21 Apr 2022 14:51:36 +0000
(07:51 -0700)
committer
Matthew Fernandez
<matthew.fernandez@gmail.com>
Thu, 28 Apr 2022 00:09:19 +0000
(17:09 -0700)
The definition of this function calls the last parameter `createflag`, not
`allocflag`.
lib/cgraph/cghdr.h
patch
|
blob
|
history
diff --git
a/lib/cgraph/cghdr.h
b/lib/cgraph/cghdr.h
index 8051a036db9a13c395168d2c7c3f15202318b26f..4f05921fc41eedc98a7372ceaeff7eb85ae4fcb0 100644
(file)
--- a/
lib/cgraph/cghdr.h
+++ b/
lib/cgraph/cghdr.h
@@
-107,7
+107,7
@@
void aglexbad(void);
/* ID management */
int agmapnametoid(Agraph_t * g, int objtype, char *str,
- IDTYPE *result, int
alloc
flag);
+ IDTYPE *result, int
create
flag);
int agallocid(Agraph_t * g, int objtype, IDTYPE request);
void agfreeid(Agraph_t * g, int objtype, IDTYPE id);
char *agprintid(Agobj_t * obj);