-static struct SpecialToken TimeMultipliers[] = {
- { "second", SECONDS }, /* seconds multiplier */
- { "seconds", SECONDS }, /* (pluralized) */
- { "sec", SECONDS }, /* (generic) */
- { "s", SECONDS }, /* (short generic) */
- { "minute", MINUTES }, /* minutes multiplier */
- { "minutes", MINUTES }, /* (pluralized) */
- { "min", MINUTES }, /* (generic) */
- { "m", MONTHS_MINUTES }, /* (short generic) */
- { "hour", HOURS }, /* hours ... */
- { "hours", HOURS }, /* (pluralized) */
- { "hr", HOURS }, /* (generic) */
- { "h", HOURS }, /* (short generic) */
- { "day", DAYS }, /* days ... */
- { "days", DAYS }, /* (pluralized) */
- { "d", DAYS }, /* (short generic) */
- { "week", WEEKS }, /* week ... */
- { "weeks", WEEKS }, /* (pluralized) */
- { "wk", WEEKS }, /* (generic) */
- { "w", WEEKS }, /* (short generic) */
- { "month", MONTHS }, /* week ... */
- { "months", MONTHS }, /* (pluralized) */
- { "mon", MONTHS }, /* (generic) */
- { "year", YEARS }, /* year ... */
- { "years", YEARS }, /* (pluralized) */
- { "yr", YEARS }, /* (generic) */
- { "y", YEARS }, /* (short generic) */
- { NULL, 0 } /*** SENTINEL ***/
+static const struct SpecialToken TimeMultipliers[] = {
+ {"second", SECONDS}, /* seconds multiplier */
+ {"seconds", SECONDS}, /* (pluralized) */
+ {"sec", SECONDS}, /* (generic) */
+ {"s", SECONDS}, /* (short generic) */
+ {"minute", MINUTES}, /* minutes multiplier */
+ {"minutes", MINUTES}, /* (pluralized) */
+ {"min", MINUTES}, /* (generic) */
+ {"m", MONTHS_MINUTES}, /* (short generic) */
+ {"hour", HOURS}, /* hours ... */
+ {"hours", HOURS}, /* (pluralized) */
+ {"hr", HOURS}, /* (generic) */
+ {"h", HOURS}, /* (short generic) */
+ {"day", DAYS}, /* days ... */
+ {"days", DAYS}, /* (pluralized) */
+ {"d", DAYS}, /* (short generic) */
+ {"week", WEEKS}, /* week ... */
+ {"weeks", WEEKS}, /* (pluralized) */
+ {"wk", WEEKS}, /* (generic) */
+ {"w", WEEKS}, /* (short generic) */
+ {"month", MONTHS}, /* week ... */
+ {"months", MONTHS}, /* (pluralized) */
+ {"mon", MONTHS}, /* (generic) */
+ {"year", YEARS}, /* year ... */
+ {"years", YEARS}, /* (pluralized) */
+ {"yr", YEARS}, /* (generic) */
+ {"y", YEARS}, /* (short generic) */
+ {NULL, 0} /*** SENTINEL ***/