]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Adopt prototype for __offset.
authorUlrich Drepper <drepper@redhat.com>
Wed, 20 May 1998 12:13:20 +0000 (12:13 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 20 May 1998 12:13:20 +0000 (12:13 +0000)
time/time.h

index 8c1aeaace67db746cf4f3b0a6104e884e5573ea6..90d1f0b30415fd0e5a06817f4abfd470696bd84b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,94,95,96,97,98 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -190,9 +190,9 @@ extern struct tm *localtime_r __P ((__const time_t *__timer,
 /* Compute the `struct tm' representation of *T,
    offset OFFSET seconds east of UTC,
    and store year, yday, mon, mday, wday, hour, min, sec into *TP.  */
-extern void __offtime __P ((__const time_t *__timer,
-                           long int __offset,
-                           struct tm *__TP));
+extern int __offtime __P ((__const time_t *__timer,
+                          long int __offset,
+                          struct tm *__TP));
 
 /* Return a string of the form "Day Mon dd hh:mm:ss yyyy\n"
    that is the representation of TP in this format.  */