Why are you so sure it's those lines? Think about it. Line 11 is just the line describing a function. Line 9 is the closing curly brace of a struct definition.

A seg fault happens when your...