The Collaborative International Dictionary of English v.0.48:
Closet \Clos"et\, n. [OF. closet little inclosure, dim. of clos.
See Close an inclosure.]
1. A small room or apartment for retirement; a room for
privacy.
[1913 Webster]
A chair-lumbered closet, just twelve feet by nine.
--Goldsmith.
[1913 Webster]
When thou prayest, enter into thy closet. --Matt.
vi. 6.
[1913 Webster]
2. A small apartment, or recess in the side of a room, for
household utensils, clothing, etc. --Dryden.
[1913 Webster]
Closet sin, sin commited in privacy. --Bp. Hall.
[1913 Webster]