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:
authorJean-Luc Peurière <jlp@nerim.net>2005-03-14 23:10:22 +0300
committerJean-Luc Peurière <jlp@nerim.net>2005-03-14 23:10:22 +0300
commit3ca88c4e7f597d10e8d995a2268dbdc948ff1b7b (patch)
tree498c58befbbc2a9720cdd58d1510098d29f12cc0 /source/blender/makesdna/intern/makesdna.c
parent7e2e2b2370b8e01e91f4c904f89760447a00e184 (diff)
ome more warnings cleaning
Diffstat (limited to 'source/blender/makesdna/intern/makesdna.c')
-rw-r--r--source/blender/makesdna/intern/makesdna.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c
index fc95c1277d5..52e3f92a40f 100644
--- a/source/blender/makesdna/intern/makesdna.c
+++ b/source/blender/makesdna/intern/makesdna.c
@@ -464,7 +464,7 @@ int preprocess_include(char *maindata, int len)
return newlen;
}
-void *read_file_data(char *filename, int *len_r)
+static void *read_file_data(char *filename, int *len_r)
{
#ifdef WIN32
FILE *fp= fopen(filename, "rb");
@@ -719,7 +719,6 @@ int calculate_structlens(void)
/* 2-4 aligned/ */
if(typelens[type]>3 && (len % 4) ) {
printf("Align 4 error in struct: %s %s (add %d padding bytes)\n", types[structtype], cp, len%4);
- printf(" \n", len%4);
dna_error = 1;
}
else if(typelens[type]==2 && (len % 2) ) {
@@ -1048,7 +1047,7 @@ int make_structDNA(FILE *file)
/* ************************* END MAKE DNA ********************** */
-void make_bad_file(char *file)
+static void make_bad_file(char *file)
{
FILE *fp= fopen(file, "w");
fprintf(fp, "ERROR! Cannot make correct DNA.c file, STUPID!\n");