| 4278 | /* Insert a malloc'd copy of key KEY_ARG at the end of the key list. */ |
| 4279 | |
| 4280 | static void |
| 4281 | insertkey (struct keyfield *key_arg) |
| 4282 | { |
| 4283 | struct keyfield **p; |
| 4284 | struct keyfield *key = xmemdup (key_arg, sizeof *key); |
| 4285 | |
| 4286 | for (p = &keylist; *p; p = &(*p)->next) |
| 4287 | continue; |
| 4288 | *p = key; |
| 4289 | key->next = NULL; |
| 4290 | } |
| 4291 | |
| 4292 | /* Report a bad field specification SPEC, with extra info MSGID. */ |
| 4293 |