~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to protos.h

  • Committer: Andrew J. Schorr
  • Date: 2018-12-12 19:08:15 UTC
  • mto: (1056.1.1)
  • mto: This revision was merged to the branch mainline in revision 1037.
  • Revision ID: git-v1:d5d60a503f6de8866be843b40fe6de7c20a0f3a0
Speed up UTC mktime by using library timegm if available instead of our slow implementation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
extern time_t mktime(struct tm *tp);
130
130
#endif
131
131
 
 
132
#ifndef HAVE_TIMEGM
 
133
extern time_t timegm(struct tm *);
 
134
#endif
 
135
 
132
136
#ifndef HAVE_SNPRINTF
133
137
extern int snprintf(char *restrict buf, size_t len, const char *restrict fmt, ...);
134
138
#endif