summaryrefslogtreecommitdiff
path: root/mit-pthreads/gen/ctime.c
diff options
context:
space:
mode:
Diffstat (limited to 'mit-pthreads/gen/ctime.c')
-rw-r--r--mit-pthreads/gen/ctime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mit-pthreads/gen/ctime.c b/mit-pthreads/gen/ctime.c
index e7980296e50..0c1e711cf13 100644
--- a/mit-pthreads/gen/ctime.c
+++ b/mit-pthreads/gen/ctime.c
@@ -129,7 +129,7 @@ struct rule {
** Prototypes for static functions.
*/
-static long detzcode __P_((const char *));
+static int detzcode __P_((const char *));
static const char * getnum __P_((const char *, int *, int, int));
static const char * getsecs __P_((const char *, long *));
static const char * getoffset __P_((const char *, long *));
@@ -175,7 +175,7 @@ int daylight = 0;
time_t altzone = 0;
#endif /* defined ALTZONE */
-static long detzcode(const char * codep)
+static int detzcode(const char * codep)
{
long result;
int i;