licensing open-source-software gpl
Using code snippets contributed by you in a library/project with restrictive license
<p>Years ago I contributed some code snippets to a C++ library released with GPL license. Currently I am working on some closed-source commercial project where these snippets could be very helpful.</p>
<ol>
<li>Could I re-use these snippets to develop my closed-source commercial application without infringing the GPL license?</li>
<li>Could I extract the snippets and change the license to something compatible with commercial applications (e.g. MIT license)?</li>
</ol>

<h2>You don’t need a licence to use your own copyright</h2>
<p>Also, you can release your work under as many (or no) licences as you want subject to the limit that you can only exclusively licence it once within the scope of that exclusivity.</p>
