X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fhelper%2Ftime_support_common.c;h=b733c270ef8816966b66f5e0c7dd4405de123596;hp=1ad3676c88bc3e8cde6d83232b551c9f52bf5b07;hb=f19ac83152b54a204b8148815a538d868973e1e1;hpb=c8b8a34bb5e98660c4ce3683fb64af31b494d55c diff --git a/src/helper/time_support_common.c b/src/helper/time_support_common.c index 1ad3676c88..b733c270ef 100644 --- a/src/helper/time_support_common.c +++ b/src/helper/time_support_common.c @@ -19,10 +19,9 @@ * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * along with this program. If not, see . * ***************************************************************************/ + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -32,7 +31,7 @@ /* simple and low overhead fetching of ms counter. Use only * the difference between ms counters returned from this fn. */ -int64_t timeval_ms() +int64_t timeval_ms(void) { struct timeval now; int retval = gettimeofday(&now, NULL);