[comp.lang.c] 'missing 'prototype'?

VANCLEEF@ohstpy.mps.ohio-state.edu (12/18/89)

i am getting a weird warning using turbo c. basically my calles
to subroutines are getting the warning about a
'missing prototype to function ...'

what does this mean? it looks like everything is defined correctly?

any help would be appreciated

Garrett

sgupta@geo4.rdrc.rpi.edu (Suvajit Gupta) (01/16/90)

In article <6746@ohstpy.mps.ohio-state.edu> VANCLEEF@ohstpy.mps.ohio-state.edu writes:
>i am getting a weird warning using turbo c. basically my calls
>to subroutines are getting the warning about a
>'missing prototype to function ...'
>
>what does this mean? it looks like everything is defined correctly?
>

Probably you are using the old pre-ANSI style of function declarations.
This makes the compiler complain about missing prototypes.  To avoid this
warning, you could either shut the compiler up about missing protypes, or
better define your functions using the ANSI style.
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Suvajit Gupta       email: sgupta@rdrc.rpi.edu        phone: (518)-276-4079
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           "Baa Baa Black Sheep, Have You Any Wool?"  "NO!"