]> granicus.if.org Git - nethack/commit
another pre-ANSI bit
authornethack.rankin <nethack.rankin>
Fri, 10 Jan 2003 04:18:32 +0000 (04:18 +0000)
committernethack.rankin <nethack.rankin>
Fri, 10 Jan 2003 04:18:32 +0000 (04:18 +0000)
commit37e8d540a9dcc082e3bd8d487fa6f97c3a8ea0a2
tree9fffc179689f2b10f56f2b40a1d0958bbfc59235
parentc34d7af1eb5db765c5677de64a59f25cc929524b
another pre-ANSI bit

     Another vintage compiler (not as old as the previous one...) didn't
like the assignment `nlp = shkgeneral;' when nlp had been declared using
array syntax.  It didn't used to mind that, until an extra `const' was
inserted by the "move stuff to read-only area" patch submitted by someone
a while back.  The prototype is already using pointer syntax here.
src/shknam.c