|
0
|
1 #ifndef CYGONCE_LIBC_CLIBINCL_TIMESUPP_HXX |
|
|
2 #define CYGONCE_LIBC_CLIBINCL_TIMESUPP_HXX |
|
|
3 //=========================================================================== |
|
|
4 // |
|
|
5 // timesupp.hxx |
|
|
6 // |
|
|
7 // Support for the ANSI standard time functions |
|
|
8 // |
|
|
9 //=========================================================================== |
|
|
10 //####COPYRIGHTBEGIN#### |
|
|
11 // |
|
|
12 // ------------------------------------------- |
|
|
13 // The contents of this file are subject to the Cygnus eCos Public License |
|
|
14 // Version 1.0 (the "License"); you may not use this file except in |
|
|
15 // compliance with the License. You may obtain a copy of the License at |
|
|
16 // http://sourceware.cygnus.com/ecos |
|
|
17 // |
|
|
18 // Software distributed under the License is distributed on an "AS IS" |
|
|
19 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the |
|
|
20 // License for the specific language governing rights and limitations under |
|
|
21 // the License. |
|
|
22 // |
|
|
23 // The Original Code is eCos - Embedded Cygnus Operating System, released |
|
|
24 // September 30, 1998. |
|
|
25 // |
|
|
26 // The Initial Developer of the Original Code is Cygnus. Portions created |
|
|
27 // by Cygnus are Copyright (C) 1998 Cygnus Solutions. All Rights Reserved. |
|
|
28 // ------------------------------------------- |
|
|
29 // |
|
|
30 //####COPYRIGHTEND#### |
|
|
31 //=========================================================================== |
|
|
32 //#####DESCRIPTIONBEGIN#### |
|
|
33 // |
|
|
34 // Author(s): jlarmour |
|
|
35 // Contributors: jlarmour@cygnus.co.uk |
|
|
36 // Date: 1998-02-13 |
|
|
37 // Purpose: |
|
|
38 // Description: |
|
|
39 // Usage: |
|
|
40 // |
|
|
41 //####DESCRIPTIONEND#### |
|
|
42 // |
|
|
43 //=========================================================================== |
|
|
44 |
|
|
45 // CONFIGURATION |
|
|
46 |
|
|
47 #include <pkgconf/libc.h> // Configuration header |
|
|
48 |
|
|
49 // Include the C library? |
|
|
50 #ifdef CYGPKG_LIBC |
|
|
51 |
|
|
52 // INCLUDES |
|
|
53 |
|
|
54 #include <cyg/infra/cyg_type.h> // Common type definitions |
|
|
55 |
|
|
56 // FUNCTION PROTOTYPES |
|
|
57 |
|
|
58 // These are function prototypes for the aliased functions that actually |
|
|
59 // implement the time functions |
|
|
60 |
|
|
61 //=========================================================================== |
|
|
62 |
|
|
63 // 7.12.2 Time manipulation functions |
|
|
64 |
|
|
65 externC clock_t |
|
|
66 _clock( void ); |
|
|
67 |
|
|
68 |
|
|
69 #endif // ifdef CYGPKG_LIBC |
|
|
70 |
|
|
71 #endif // CYGONCE_LIBC_CLIBINCL_TIMESUPP_HXX multiple inclusion protection |
|
|
72 |
|
|
73 // EOF timesupp.hxx |