diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-04 16:00:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-04 16:00:28 +0300 |
commit | fa4bbbb249bf9706e9c71d34748fbde87fa385fb (patch) | |
tree | 1cd6f3081bcc95923a9cdae19ba5b03de1181e62 /source/blender/blenlib/intern | |
parent | 4dc59fff2835f509c563684f7d4e116b2dcfd873 (diff) |
Maintenance,
- remove some redundant declarations
- changed VertexTangent and Path structs to avoid compiler alignment padding.
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/path_util.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c index 8400bdbeef5..9be0690d95a 100644 --- a/source/blender/blenlib/intern/path_util.c +++ b/source/blender/blenlib/intern/path_util.c @@ -79,6 +79,8 @@ /* local */ #define UNIQUE_NAME_MAX 128 +extern char bprogname[]; + static int add_win32_extension(char *name); static char *blender_version_decimal(void); @@ -894,7 +896,6 @@ static int test_env_path(char *path, const char *envvar) static int get_path_local(char *targetpath, const char *folder_name, const char *subfolder_name) { - extern char bprogname[]; /* argv[0] from creator.c */ char bprogdir[FILE_MAX]; char relfolder[FILE_MAX]; @@ -963,7 +964,6 @@ static int get_path_system(char *targetpath, const char *folder_name, const char /* first allow developer only overrides to the system path * these are only used when running blender from source */ - extern char bprogname[]; /* argv[0] from creator.c */ char cwd[FILE_MAX]; char relfolder[FILE_MAX]; char bprogdir[FILE_MAX]; @@ -1778,7 +1778,6 @@ void BLI_where_is_temp(char *fullname, int usertemp) } char *get_install_dir(void) { - extern char bprogname[]; char *tmpname = BLI_strdup(bprogname); char *cut; |