remove undeclared function/ old code to fix issue #37
Merge pull request #40 from zdenop/upstream

remove undeclared function/ old code to fix issue #37