aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-07-25 19:27:06 +0000
committerBruce Momjian <bruce@momjian.us>2003-07-25 19:27:06 +0000
commit187e865174024c49f84e074184d8e3f05d44a923 (patch)
tree3f030ece8430565647e0da4c6a81d06b9bdd8d2b /src/tutorial/funcs.c
parent6a0d6d0060d575440a46f1218ed78565f565890c (diff)
downloadpostgresql-187e865174024c49f84e074184d8e3f05d44a923.tar.gz
postgresql-187e865174024c49f84e074184d8e3f05d44a923.zip
> Rod Taylor <rbt@rbt.ca> writes:
> > It seems that readline() on my system (FreeBSD 4.8) isn't declared to > > take the prompt as a const. Thus, remove const from gets_interactive() > > to remove the warning. > > I think it would be a lot cleaner to just put a cast to char * into the > readline call (with a note about why). Ok.. that works. I must say it's a little strange being able to take a constant and say its no longer constant anymore -- but I suppose it's no different than defining then undefining pre-processor constants. Rod Taylor <rbt@rbt.ca>
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions