Re: multiple declaration error



hi everyone,

  does anyone know why i get the following error even
though i've only declared the function once?

callbacks.o(.text+0x0): In function
`draw_button_clicked':
/home/programs/animation4/src/callbacks.c:17: multiple
definition of `draw_button_clicked'
main.o(.text+0x0):/home/programs/animation4/src/callbacks.c:17:
first defined here
collect2: ld returned 1 exit status
make: *** [a] Error 1

grep draw_button_clicked *.c *.h

hs



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]