Mail Archives: djgpp-workers/1999/01/04/09:44:17
Eli said:
> > int /* 0 == error; 1 == result_str filled in. */
> > _get_fs_type(const int drive /* drive number (1=A:). */
> > , char *const result_str /* String to put result in. At
> ^^^^^^^^^^^^^^^^^^^^^^
> Why does this have to be "char * const"? It might be quite a nuisance
> for some programs compiled with -Wall or stricter switches, and I don't
> see any reason for that. Shouldn't "char *" be enough?
All I'm (the code is) saying is that the pointer is constant.
The other comments will be assimilated.
Right,
MartinS
- Raw text -