Selling a home without building permits

Prior to selling our home in SC, I did all the wiring for the garage, the wiring for our pool, and we had a patio room put on, all without one permit. We sold the home years ago and didn't have any problems.