[前][次][番号順一覧][スレッド一覧]

ruby-changes:30538

From: usa <ko1@a...>
Date: Mon, 19 Aug 2013 13:29:47 +0900 (JST)
Subject: [ruby-changes:30538] usa:r42617 (trunk): * include/ruby/win32.h (CLOCK_MONOTONIC): typo.

usa	2013-08-19 13:29:41 +0900 (Mon, 19 Aug 2013)

  New Revision: 42617

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42617

  Log:
    * include/ruby/win32.h (CLOCK_MONOTONIC): typo.
    
    * win32/win32.c: removed duplicated declarations.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/win32.h
    trunk/win32/win32.c
Index: include/ruby/win32.h
===================================================================
--- include/ruby/win32.h	(revision 42616)
+++ include/ruby/win32.h	(revision 42617)
@@ -126,7 +126,7 @@ typedef unsigned int uintptr_t; https://github.com/ruby/ruby/blob/trunk/include/ruby/win32.h#L126
 
 typedef int clockid_t;
 #define CLOCK_REALTIME  0
-#define CLOCK_MONOTINIC 1
+#define CLOCK_MONOTONIC 1
 
 #undef getc
 #undef putc
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42616)
+++ ChangeLog	(revision 42617)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Aug 19 13:28:47 2013  NAKAMURA Usaku  <usa@r...>
+
+	* include/ruby/win32.h (CLOCK_MONOTONIC): typo.
+
+	* win32/win32.c: removed duplicated declarations.
+
 Mon Aug 19 13:03:08 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* configure.in (clock_gettime): should not overwrite cache variable
Index: win32/win32.c
===================================================================
--- win32/win32.c	(revision 42616)
+++ win32/win32.c	(revision 42617)
@@ -4310,9 +4310,6 @@ gettimeofday(struct timeval *tv, struct https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L4310
 }
 
 /* License: Ruby's */
-typedef int clockid_t;
-#define CLOCK_REALTIME  0
-#define CLOCK_MONOTONIC 1
 int
 clock_gettime(clockid_t clock_id, struct timespec *sp)
 {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]