diff options
| author | Tyge Løvset <[email protected]> | 2020-09-03 12:59:41 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-09-03 12:59:41 +0200 |
| commit | a4e2ee22fd57665d2388d5debc17db896a4a389f (patch) | |
| tree | 6a3a88772cd9d3b604f9def4c0579ed941983f61 /examples/mapmap.c | |
| parent | aaa3d7f6a107a668b1f24d8ed061fe74237d9883 (diff) | |
| download | STC-modified-a4e2ee22fd57665d2388d5debc17db896a4a389f.tar.gz STC-modified-a4e2ee22fd57665d2388d5debc17db896a4a389f.zip | |
Changed constant <container>_init to <container>_ini to avoid conflict with <container>_init() method.
Reverted name cprique back to cpqueue.
Diffstat (limited to 'examples/mapmap.c')
| -rw-r--r-- | examples/mapmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/mapmap.c b/examples/mapmap.c index d0d8c8fa..a0c1b173 100644 --- a/examples/mapmap.c +++ b/examples/mapmap.c @@ -7,8 +7,8 @@ declare_cmap_str(); declare_cmap_strkey(cfg, cmap_str, cmap_str_destroy);
int main(void) {
- cmap_cfg config = cmap_init;
- cmap_str init = cmap_init;
+ cmap_cfg config = cmap_ini;
+ cmap_str init = cmap_ini;
cmap_str_put(&cmap_cfg_insert(&config, "user", init)->value, "name", "Joe");
cmap_str_put(&cmap_cfg_insert(&config, "user", init)->value, "groups", "proj1,proj3");
cmap_str_put(&cmap_cfg_insert(&config, "group", init)->value, "proj1", "Energy");
|
