Guards would sometimes fall asleep during the night watch, so these were affixed at duty posts to prevent them from leaning into the walls and dozing.