diff options
author | Mattias Andrée <maandree@kth.se> | 2021-04-04 14:10:26 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-04-04 14:10:26 +0200 |
commit | 6321be300b804894c8c150fac8749741b13dfb2d (patch) | |
tree | defa3c9145ecdf6e3f74c4fcf09b20a50a81983f /common.h | |
parent | m + move common code from get-contact-birthday.c and list-birthdays.c to common-birthday.c (diff) | |
download | contacts-6321be300b804894c8c150fac8749741b13dfb2d.tar.gz contacts-6321be300b804894c8c150fac8749741b13dfb2d.tar.bz2 contacts-6321be300b804894c8c150fac8749741b13dfb2d.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | common.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -14,6 +14,9 @@ /* common-birthday.c */ +#if defined(__GNUC__) || defined(__clang__) +__attribute__((__pure__)) +#endif int get_age(struct libcontacts_birthday *bday, const struct tm *now); void print_birthdate(struct libcontacts_birthday *bday, const struct tm *now); void print_birthday(struct libcontacts_birthday *bday, const struct tm *now); |