X-Git-Url: http://git.squeep.com/?p=dcpu16;a=blobdiff_plain;f=common.h;h=02db4d77fdc131f63166d63d9cdb5d0ecca7d73c;hp=80ed333868f780f0a77156a6041d3f6274329004;hb=e22bdfa072479f7ea72081808c0b1fa3602e726c;hpb=19bb0a4e64c9ab3e62ff4bbd959289704ee5b8f1 diff --git a/common.h b/common.h index 80ed333..02db4d7 100644 --- a/common.h +++ b/common.h @@ -21,4 +21,6 @@ int str_to_word(char *s); char *strqtok_r(char *str, const char *sep, int esc, const char *quote, char **lastq, char **lasts); +int timeval_subtract(struct timeval *result, struct timeval *x, struct timeval *y); + #endif /* COMMON_H_QPRCB1BH */