[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gnulib] Re: fix for gl/timegm.h

From: Simon Josefsson
Subject: [bug-gnulib] Re: fix for gl/timegm.h
Date: Sun, 13 Mar 2005 23:59:02 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

Dave Love <address@hidden> writes:

> timegm doesn't get declared because gl/timegm.h uses
> rather than 
> This seems to be a problem in the current gnulib, so I've cc'd
> bug-gnulib.

FWIW, I agree.  Here's a patch for gnulib.  Any objections to
installing it?  The construct I use is the one recommended by the
autoconf/automake manual, if I recall correctly.

2005-03-13  Simon Josefsson  <address@hidden>

        * timegm.h: Use proper prototype CPP guards, reported by Dave Love

--- timegm.h    06 Sep 2003 23:34:07 +0200      1.2
+++ timegm.h    13 Mar 2005 23:56:33 +0100      
@@ -1,6 +1,6 @@
 /* Convert UTC calendar time to simple time.  Like mktime but assumes UTC.
-   Copyright (C) 2003 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2005 Free Software Foundation, Inc.
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -18,6 +18,6 @@
 #include <time.h>
 time_t timegm (struct tm *tm);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]