| 64 | } web_tab; |
| 65 | |
| 66 | static void *web_xmalloc(size_t n) { |
| 67 | void *p = malloc(n ? n : 1); |
| 68 | if (!p) { |
| 69 | perror("ds4_web: malloc"); |
| 70 | exit(1); |
| 71 | } |
| 72 | return p; |
| 73 | } |
| 74 | |
| 75 | static char *web_xstrdup(const char *s) { |
| 76 | if (!s) s = ""; |
no outgoing calls
no test coverage detected