Skip to contentSkip to conversation

linux-2.6 carlos

parisc-linux Carlos O'Donell 1 participant 1 message Jan 28, 2004 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 10 lines · Carlos O'Donell

CVSROOT: /var/cvs
Module name: linux-2.6
Changes by: carlos 04/01/27 22:14:15

Modified files:
include/asm-parisc: posix_types.h

Log message:
__kernel_time_t should be of type long on 32-bit systems, it used to be int

The generic code expects this to be of type long on all builds, even 32-bit. This might cause other warnings in parisc drivers that have gotten used to having time_t as int.

Index: include/asm-parisc/posix_types.h
===================================================================
RCS file: /var/cvs/linux-2.6/include/asm-parisc/posix_types.h,v retrieving revision 1.2
retrieving revision 1.3

asm-parisc/posix_types.h +1 -1
diff -u -p -r1.2 -r1.3
@@ -29,7 +29,7 @@ typedef long			__kernel_time_t;
 typedef unsigned int		__kernel_size_t;
 typedef int			__kernel_ssize_t;
 typedef int			__kernel_ptrdiff_t;
-typedef int			__kernel_time_t;
+typedef long			__kernel_time_t;
 #endif
 typedef char *			__kernel_caddr_t;