Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/makesdna/intern/makesdna.c')
-rw-r--r--source/blender/makesdna/intern/makesdna.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c
index c060eb186c9..ebd51d1c102 100644
--- a/source/blender/makesdna/intern/makesdna.c
+++ b/source/blender/makesdna/intern/makesdna.c
@@ -64,7 +64,7 @@
/* Included the path relative from /source/blender/ here, so we can move */
/* headers around with more freedom. */
-const char *includefiles[] = {
+static const char *includefiles[] = {
// if you add files here, please add them at the end
// of makesdna.c (this file) as well
@@ -224,7 +224,7 @@ void printStructLenghts(void);
/* ************************* MAKEN DNA ********************** */
-int add_type(const char *str, int len)
+static int add_type(const char *str, int len)
{
int nr;
char *cp;
@@ -399,7 +399,7 @@ static int add_name(const char *str)
return nr_names-1;
}
-short *add_struct(int namecode)
+static short *add_struct(int namecode)
{
int len;
short *sp;
@@ -522,7 +522,7 @@ static void *read_file_data(char *filename, int *len_r)
return data;
}
-int convert_include(char *filename)
+static int convert_include(char *filename)
{
/* read include file, skip structs with a '#' before it.
store all data in temporal arrays.
@@ -659,7 +659,7 @@ int convert_include(char *filename)
return 0;
}
-int arraysize(char *astr, int len)
+static int arraysize(char *astr, int len)
{
int a, mul=1;
char str[100], *cp=NULL;