X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fhelper%2Ftime_support_common.c;h=b733c270ef8816966b66f5e0c7dd4405de123596;hb=a11fe473eaee235a51dba7900c08cc7629ed2794;hp=dc55d11a80ae734e481a050b28f305ab7db7287b;hpb=8b00e56e6433cff3ff818835953b27765aaabab0;p=fw%2Fopenocd diff --git a/src/helper/time_support_common.c b/src/helper/time_support_common.c index dc55d11a8..b733c270e 100644 --- a/src/helper/time_support_common.c +++ b/src/helper/time_support_common.c @@ -19,9 +19,7 @@ * 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 @@ -33,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);