Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matthieu Dorier
codes
Commits
7871b28c
Commit
7871b28c
authored
Jul 12, 2013
by
Philip Carns
Browse files
fix config.h usage and clean up warnings
parent
e421b386
Changes
3
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
7871b28c
...
@@ -13,7 +13,7 @@ AM_INIT_AUTOMAKE([foreign subdir-objects -Wall])
...
@@ -13,7 +13,7 @@ AM_INIT_AUTOMAKE([foreign subdir-objects -Wall])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_CONFIG_SRCDIR([README.txt])
AC_CONFIG_SRCDIR([README.txt])
AC_CONFIG_HEADERS([codes_config.h])
AC_CONFIG_HEADERS([codes_
base_
config.h])
AX_PROG_BISON([],[AC_MSG_WARN([Could not find bison])])
AX_PROG_BISON([],[AC_MSG_WARN([Could not find bison])])
AX_PROG_FLEX([],[AC_MSG_WARN([Could not find flex])])
AX_PROG_FLEX([],[AC_MSG_WARN([Could not find flex])])
...
...
src/modelconfig/configfile.h
View file @
7871b28c
#ifndef SRC_COMMON_MODELCONFIG_CONFIGFILE_H
#ifndef SRC_COMMON_MODELCONFIG_CONFIGFILE_H
#define SRC_COMMON_MODELCONFIG_CONFIGFILE_H
#define SRC_COMMON_MODELCONFIG_CONFIGFILE_H
#include "codes_base_config.h"
#ifdef HAVE_MALLOC_H
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#include <malloc.h>
#endif
#endif
...
...
src/modelconfig/configstore.c
View file @
7871b28c
#include <string.h>
#include <string.h>
#include <assert.h>
#include <assert.h>
#include "codes_base_config.h"
#include "configstore.h"
#ifdef HAVE_MALLOC_H
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#include <malloc.h>
#endif
#endif
#include "configstore.h"
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
struct
mcs_entry
struct
mcs_entry
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment