From 7133e90113c673feb0d61c8ff4f920e0ebdb4f22 Mon Sep 17 00:00:00 2001 From: Nils Springob Date: Sun, 15 Dec 2013 12:57:13 +0000 Subject: [PATCH] * pgm.c/pgm.h: fixed syntax error in const pointer to const git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1255 81a1dc3b-b13d-400b-aceb-764788c761c2 --- ChangeLog | 6 +++++- pgm.c | 2 +- pgm.h | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b41a7348..8e975ef6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-12-15 Nils Springob + + * pgm.c/pgm.h: fixed syntax error in const pointer to const + 2013-12-05 Joerg Wunsch * configure.ac: bump version to 6.1-svn-20131205 @@ -23,7 +27,7 @@ 2013-10-18 Nils Springob - * avrdude.conf.in (atmega1284): ATmega1284 variant added (same as ATmega1284p but with different signature) + * avrdude.conf.in (atmega1284): ATmega1284 variant added (same as ATmega1284p but with different signature) 2013-09-25 Hannes Weisbach diff --git a/pgm.c b/pgm.c index 416da650..72154ad7 100644 --- a/pgm.c +++ b/pgm.c @@ -149,7 +149,7 @@ void pgm_free(PROGRAMMER * const p) free(p); } -PROGRAMMER * pgm_dup(const PROGRAMMER const * src) +PROGRAMMER * pgm_dup(const PROGRAMMER * const src) { PROGRAMMER * pgm; diff --git a/pgm.h b/pgm.h index 88cba103..e7d4191b 100644 --- a/pgm.h +++ b/pgm.h @@ -141,7 +141,7 @@ extern "C" { #endif PROGRAMMER * pgm_new(void); -PROGRAMMER * pgm_dup(const PROGRAMMER const * src); +PROGRAMMER * pgm_dup(const PROGRAMMER * const src); void pgm_free(PROGRAMMER * const p); void programmer_display(PROGRAMMER * pgm, const char * p);