Coal ashes would have been used to kill the smell. In more “modern” times we used lime.
At my place in the mountains I use wood ash, since I am not saving it for soap making. Between fall and spring, when we don’t visit, it looses it’s odor.