[msvc] Minor cleanup in blenkernel.
authorlazydodo <github@lazydodo.com>
Tue, 18 Oct 2016 15:25:14 +0000 (09:25 -0600)
committerlazydodo <github@lazydodo.com>
Tue, 18 Oct 2016 15:51:33 +0000 (09:51 -0600)
commit82f842c27f4ff483be0fda6c02d3a4527cc20ff2
treecd710733acf91a52d7d3b1dd8ec0fdbbb9c67f5e
parent3541f7c47d8e709731089bd139d7edc4f410f772
[msvc] Minor cleanup in blenkernel.

this patch resolves the following warnings;

```
Warning C4028 formal parameter 1 different from declaration blenkernel\intern\ocean.c 764
Warning C4098 'attach_stabilization_baseline_data': 'void' function returning a value blenkernel\intern\tracking_stabilize.c 139
Warning C4028 formal parameter 3 different from declaration blenkernel\intern\cachefile.c 148
Warning C4028 formal parameter 3 different from declaration blenkernel\intern\paint.c 413
Warning C4028 formal parameter 1 different from declaration blenkernel\intern\editderivedmesh.c 591
Warning C4028 formal parameter 3 different from declaration blenkernel\intern\library_remap.c 709
Warning C4028 formal parameter 1 different from declaration blenkernel\intern\ocean.c 754
Warning C4028 formal parameter 1 different from declaration blenkernel\intern\ocean.c 758
Warning C4028 formal parameter 1 different from declaration blenkernel\intern\ocean.c 759
Warning C4028 formal parameter 1 different from declaration blenkernel\intern\ocean.c 763
Warning C4028 formal parameter 1 different from declaration blenkernel\intern\ocean.c 764
Warning C4028 formal parameter 1 different from declaration blenkernel\intern\ocean.c 765
Warning C4028 formal parameter 1 different from declaration blenkernel\intern\ocean.c 769
Warning C4028 formal parameter 1 different from declaration blenkernel\intern\ocean.c 770
Warning C4028 formal parameter 1 different from declaration blenkernel\intern\DerivedMesh.c 3458
```

It's mostly things where the signature in the .h and the actual implementation in the .c do not match.  And a bunch functions who do not match the TaskRunFunction declaration cause they leave out the __restrict keyword.

Reviewers: brecht, juicyfruit, sergey

Reviewed By: sergey

Subscribers: Blendify

Differential Revision: https://developer.blender.org/D2268
source/blender/blenkernel/BKE_cachefile.h
source/blender/blenkernel/BKE_library.h
source/blender/blenkernel/intern/DerivedMesh.c
source/blender/blenkernel/intern/editderivedmesh.c
source/blender/blenkernel/intern/ocean.c
source/blender/blenkernel/intern/paint.c
source/blender/blenkernel/intern/tracking_stabilize.c