use c99 init for struct init
authorAndy Grover <andy@groveronline.com>
Mon, 12 Mar 2012 17:41:51 +0000 (10:41 -0700)
committerAndy Grover <andy@groveronline.com>
Mon, 12 Mar 2012 17:41:51 +0000 (10:41 -0700)
commit1b59bd0d0e94622f15c47c2a4d34f679a8e023fd
tree89508e78b3699861f1df74c2fe78b76ece54ebf0
parentaf321f29c2319384b5d2dd5270eb5bf91d605a61
use c99 init for struct init

move casts of pyobject -> kmodobject to the functions from the struct
init.
libkmod.c