Some sanitization of c eclipse snippet
Further deduplication by using conditionals in eclipse snippet