If it's your own code it would be fine to use, provided they're part of the project source you upload. So they won't be private anymore.