* 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
This commit is contained in:
springob 2013-12-15 12:57:13 +00:00
parent 8ffb78dc2a
commit 9094b060a0
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2013-12-15 Nils Springob <nils@nicai-systems.de>
* pgm.c/pgm.h: fixed syntax error in const pointer to const
2013-12-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de> 2013-12-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
* configure.ac: bump version to 6.1-svn-20131205 * configure.ac: bump version to 6.1-svn-20131205
@ -23,7 +27,7 @@
2013-10-18 Nils Springob <nils@nicai-systems.de> 2013-10-18 Nils Springob <nils@nicai-systems.de>
* 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 <hannes_weisbach@gmx.net> 2013-09-25 Hannes Weisbach <hannes_weisbach@gmx.net>

2
pgm.c
View File

@ -149,7 +149,7 @@ void pgm_free(PROGRAMMER * const p)
free(p); free(p);
} }
PROGRAMMER * pgm_dup(const PROGRAMMER const * src) PROGRAMMER * pgm_dup(const PROGRAMMER * const src)
{ {
PROGRAMMER * pgm; PROGRAMMER * pgm;

2
pgm.h
View File

@ -141,7 +141,7 @@ extern "C" {
#endif #endif
PROGRAMMER * pgm_new(void); 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 pgm_free(PROGRAMMER * const p);
void programmer_display(PROGRAMMER * pgm, const char * p); void programmer_display(PROGRAMMER * pgm, const char * p);