Home | History | Annotate | Line # | Download | only in include
timeval-utils.h revision 1.1.1.1.8.2
      1  1.1.1.1.8.2  tls /* Basic struct timeval utilities.
      2  1.1.1.1.8.2  tls    Copyright (C) 2011 Free Software Foundation, Inc.
      3  1.1.1.1.8.2  tls 
      4  1.1.1.1.8.2  tls This file is part of the libiberty library.
      5  1.1.1.1.8.2  tls Libiberty is free software; you can redistribute it and/or
      6  1.1.1.1.8.2  tls modify it under the terms of the GNU Library General Public
      7  1.1.1.1.8.2  tls License as published by the Free Software Foundation; either
      8  1.1.1.1.8.2  tls version 2 of the License, or (at your option) any later version.
      9  1.1.1.1.8.2  tls 
     10  1.1.1.1.8.2  tls Libiberty is distributed in the hope that it will be useful,
     11  1.1.1.1.8.2  tls but WITHOUT ANY WARRANTY; without even the implied warranty of
     12  1.1.1.1.8.2  tls MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     13  1.1.1.1.8.2  tls Library General Public License for more details.
     14  1.1.1.1.8.2  tls 
     15  1.1.1.1.8.2  tls You should have received a copy of the GNU Library General Public
     16  1.1.1.1.8.2  tls License along with libiberty; see the file COPYING.LIB.  If not,
     17  1.1.1.1.8.2  tls write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
     18  1.1.1.1.8.2  tls Boston, MA 02110-1301, USA.  */
     19  1.1.1.1.8.2  tls 
     20  1.1.1.1.8.2  tls #ifndef TIMEVAL_UTILS_H
     21  1.1.1.1.8.2  tls #define TIMEVAL_UTILS_H
     22  1.1.1.1.8.2  tls 
     23  1.1.1.1.8.2  tls #ifdef __cplusplus
     24  1.1.1.1.8.2  tls extern "C" {
     25  1.1.1.1.8.2  tls #endif /* __cplusplus */
     26  1.1.1.1.8.2  tls 
     27  1.1.1.1.8.2  tls /* forward decl */
     28  1.1.1.1.8.2  tls struct timeval;
     29  1.1.1.1.8.2  tls 
     30  1.1.1.1.8.2  tls extern void timeval_add (struct timeval *result,
     31  1.1.1.1.8.2  tls 			 const struct timeval *a, const struct timeval *b);
     32  1.1.1.1.8.2  tls 
     33  1.1.1.1.8.2  tls extern void timeval_sub (struct timeval *result,
     34  1.1.1.1.8.2  tls 			 const struct timeval *a, const struct timeval *b);
     35  1.1.1.1.8.2  tls 
     36  1.1.1.1.8.2  tls #ifdef __cplusplus
     37  1.1.1.1.8.2  tls }
     38  1.1.1.1.8.2  tls #endif /* __cplusplus */
     39  1.1.1.1.8.2  tls 
     40  1.1.1.1.8.2  tls #endif /* TIMEVAL_UTILS_H */
     41