Blame include/timeval-utils.h

Packit bbfece
/* Basic struct timeval utilities.
Packit bbfece
   Copyright (C) 2011-2018 Free Software Foundation, Inc.
Packit bbfece
Packit bbfece
This file is part of the libiberty library.
Packit bbfece
Libiberty is free software; you can redistribute it and/or
Packit bbfece
modify it under the terms of the GNU Library General Public
Packit bbfece
License as published by the Free Software Foundation; either
Packit bbfece
version 2 of the License, or (at your option) any later version.
Packit bbfece
Packit bbfece
Libiberty is distributed in the hope that it will be useful,
Packit bbfece
but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit bbfece
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit bbfece
Library General Public License for more details.
Packit bbfece
Packit bbfece
You should have received a copy of the GNU Library General Public
Packit bbfece
License along with libiberty; see the file COPYING.LIB.  If not,
Packit bbfece
write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
Packit bbfece
Boston, MA 02110-1301, USA.  */
Packit bbfece
Packit bbfece
#ifndef TIMEVAL_UTILS_H
Packit bbfece
#define TIMEVAL_UTILS_H
Packit bbfece
Packit bbfece
#ifdef __cplusplus
Packit bbfece
extern "C" {
Packit bbfece
#endif /* __cplusplus */
Packit bbfece
Packit bbfece
/* forward decl */
Packit bbfece
struct timeval;
Packit bbfece
Packit bbfece
extern void timeval_add (struct timeval *result,
Packit bbfece
			 const struct timeval *a, const struct timeval *b);
Packit bbfece
Packit bbfece
extern void timeval_sub (struct timeval *result,
Packit bbfece
			 const struct timeval *a, const struct timeval *b);
Packit bbfece
Packit bbfece
#ifdef __cplusplus
Packit bbfece
}
Packit bbfece
#endif /* __cplusplus */
Packit bbfece
Packit bbfece
#endif /* TIMEVAL_UTILS_H */