[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12116: merge from gnulib for extern-inline
From: |
Paul Eggert |
Subject: |
bug#12116: merge from gnulib for extern-inline |
Date: |
Thu, 02 Aug 2012 14:20:13 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0 |
On 08/02/2012 12:49 PM, Eli Zaretskii wrote:
> what's the story with the addition of stat-time.c,
> utimespec.c, and u64.c, which just include the respective headers?
> Where and how are these used, and for what purposes?
These .c files instantiate the inline functions defined in
their respective headers, by declaring them to be extern inline.
Without these .c files, if a compiler decides not to inline one
of those functions when compiling some other module, there might
not be any code that actually implements the function.