/* * Copyright (C) 1995. Bill Brown & Michael Shapiro * * This program is free software under the GPL (>=v2) * Read the file GPL.TXT coming with GRASS for details. */ #include static void copy (char *dst, char *src, int n) { while (n-- > 0) *dst++ = *src++; } /*! * \brief * * Copies the DateTime [into/from ???] src * * \param dst * \param src * \return void */ void datetime_copy (DateTime *dst, DateTime *src) { copy ((char *)dst, (char *)src, sizeof(DateTime)); }