Investigated compiler warnings and added fixes:
authorThomas Dreibholz <dreibh@simula.no>
Thu, 24 Jul 2014 09:10:41 +0000 (11:10 +0200)
committerThomas Dreibholz <dreibh@simula.no>
Thu, 24 Jul 2014 09:10:41 +0000 (11:10 +0200)
commit5d514e9b7a3dc5f7017c5c6c03df883f32ee4aef
tree4631cca93e56eb161583f76869fcc077df134c1a
parentd45f20d431435acab3bfbe664914ad01ee8f8e77
Investigated compiler warnings and added fixes:
- Missing "return" on non-void functions.
- "return" without value on non-void functions.
- printf "%d" expects int, added cast.
- Removed declaration of unused variable.
- Wrong cast "(kprobe_opcode_t *)"; no casts needed.
- Wrong parameter types for procfile_write.
procprotect.c