http://www.leginfo.ca.gov/cgi-bin/displaycode?section=bpc&group=16001-17000&file=16600-16607
BUSINESS AND PROFESSIONS CODE
16600. Except as provided in this chapter, every contract by which anyone is restrained from engaging in a lawful profession, trade, or business of any kind is to that extent void.