diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-28 13:08:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-28 13:17:58 +0300 |
commit | c0f88ed8a860026e32ec6a06287fcf9394b4cf0a (patch) | |
tree | 65a06f6b9b22c85a80f2d64069d36f435eeb97aa /source/blender/blenlib | |
parent | d473d5be5f59ed2cdd8e7b08feabcf7d9b8a8b5b (diff) |
Cleanup: sort forward declarations of enum & struct
Done using:
source/tools/utils_maintenance/c_sort_blocks.py
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_array_store.h | 2 | ||||
-rw-r--r-- | source/blender/blenlib/BLI_callbacks.h | 2 | ||||
-rw-r--r-- | source/blender/blenlib/BLI_linklist.h | 2 | ||||
-rw-r--r-- | source/blender/blenlib/BLI_uvproject.h | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/BLI_timer.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenlib/BLI_array_store.h b/source/blender/blenlib/BLI_array_store.h index f4cbc07bf26..c0c16b83466 100644 --- a/source/blender/blenlib/BLI_array_store.h +++ b/source/blender/blenlib/BLI_array_store.h @@ -26,8 +26,8 @@ * \brief Efficient in-memory storage of multiple similar arrays. */ -typedef struct BArrayStore BArrayStore; typedef struct BArrayState BArrayState; +typedef struct BArrayStore BArrayStore; BArrayStore *BLI_array_store_create( unsigned int stride, unsigned int chunk_count); diff --git a/source/blender/blenlib/BLI_callbacks.h b/source/blender/blenlib/BLI_callbacks.h index 2bbd82f6db8..818a3e8e29b 100644 --- a/source/blender/blenlib/BLI_callbacks.h +++ b/source/blender/blenlib/BLI_callbacks.h @@ -25,8 +25,8 @@ #ifndef __BLI_CALLBACKS_H__ #define __BLI_CALLBACKS_H__ -struct Main; struct ID; +struct Main; /** * Common suffix uses: diff --git a/source/blender/blenlib/BLI_linklist.h b/source/blender/blenlib/BLI_linklist.h index 214915163c7..bd1ce15beeb 100644 --- a/source/blender/blenlib/BLI_linklist.h +++ b/source/blender/blenlib/BLI_linklist.h @@ -34,8 +34,8 @@ #include "BLI_compiler_attrs.h" -struct MemArena; struct BLI_mempool; +struct MemArena; typedef void (*LinkNodeFreeFP)(void *link); typedef void (*LinkNodeApplyFP)(void *link, void *userdata); diff --git a/source/blender/blenlib/BLI_uvproject.h b/source/blender/blenlib/BLI_uvproject.h index 516a9b8b237..2a61acc8b36 100644 --- a/source/blender/blenlib/BLI_uvproject.h +++ b/source/blender/blenlib/BLI_uvproject.h @@ -24,8 +24,8 @@ * \ingroup bli */ -struct ProjCameraInfo; struct Object; +struct ProjCameraInfo; /* create uv info from the camera, needs to be freed */ struct ProjCameraInfo *BLI_uvproject_camera_info(struct Object *ob, float rotmat[4][4], float winx, float winy); diff --git a/source/blender/blenlib/intern/BLI_timer.c b/source/blender/blenlib/intern/BLI_timer.c index fdd89771077..56396074220 100644 --- a/source/blender/blenlib/intern/BLI_timer.c +++ b/source/blender/blenlib/intern/BLI_timer.c @@ -157,8 +157,8 @@ void BLI_timer_free() remove_tagged_functions(); } -struct Main; struct ID; +struct Main; static void remove_non_persistent_functions(struct Main *UNUSED(_1), struct ID *UNUSED(_2), void *UNUSED(_3)) { LISTBASE_FOREACH(TimedFunction *, timed_func, &GlobalTimer.funcs) { |