#72 added "const" to nedit source base

open
nobody
Program (79)
5
2002-12-04
2002-12-04
Anonymous
No

Hi,

I noticed during a Google search the following
message
http://www.nedit.org/archives/develop/2002-
Oct/0294.html.
As I added some const to ddd a while back when it
was still
maintained, I thought I could do it quite quickly to
nedit.

I attach a patch implementing:
- changed "char *" to "const char *" where
necessary.
- added "void" to make some prototypes fully
typed.

This patch does not change the semantic of the
code. Therefore,
it does not fix any bug nor does add any. IMO, it
makes the
code a bit more readable.

The patch doesn't introduce any new warnings.

Discussion

  • Thorsten Haude

    Thorsten Haude - 2002-12-06

    Logged In: YES
    user_id=119143

    I think this is a very good idea, but some of NEdit's
    specialties should be better considered (eg. created files
    should not be patched; certain typedefs should).

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks