| 639 | } |
| 640 | |
| 641 | static void inputdevice_store_clear(void) |
| 642 | { |
| 643 | for (int j = 0; j < MAX_JPORTS; j++) { |
| 644 | for (int i = 0; i < MAX_STORED_JPORTS; i++) { |
| 645 | struct stored_jport *jp = &stored_jports[j][i]; |
| 646 | if (!jp->defaultports) |
| 647 | memset(jp, 0, sizeof(struct stored_jport)); |
| 648 | } |
| 649 | } |
| 650 | } |
| 651 | |
| 652 | static void inputdevice_set_newest_used_device(int portnum, struct jport *jps) |
| 653 | { |
no outgoing calls
no test coverage detected