<http://forum.pspad.com/read.php?f=2&i=11040&t=9047> 
----------------------------------------------------------------

The following code will result in two entries for mystrtoul() in the code
explorer:

// This is a prototype. Note the trailing semicolon
char *mystrtoul(char *str, unsigned long *val);

void main()
{
  unsigned long ultmp;
  // code which uses the prototyped function
  char *s = mystrtoul("0x24", &ultmp)
}

// And the function
char *mystrtoul(char *str, unsigned long *val)
{
// code
}

Either the protoypes should be ignored, or better yet put into their own
category like the defines.

-- 
PSPad freeware editor http://www.pspad.com

Reply via email to