Merge branch 'feature/travis-migration' into develop

This commit is contained in:
Enno Rehling 2015-07-12 15:04:57 +02:00
commit 18d82b38ea
2 changed files with 7 additions and 4 deletions

View File

@ -26,6 +26,9 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
extern "C" {
#endif
struct curse;
struct curse_type;
/* Sprueche in der struct region und auf Einheiten, Schiffen oder Burgen
* (struct attribute)
*/

View File

@ -29,7 +29,7 @@ typedef struct wallcurse {
connection *wall;
} wallcurse;
void cw_init(attrib * a)
static void cw_init(attrib * a)
{
curse *c;
curse_init(a);
@ -37,7 +37,7 @@ void cw_init(attrib * a)
c->data.v = calloc(sizeof(wallcurse), 1);
}
void cw_write(const attrib * a, const void *target, storage * store)
static void cw_write(const attrib * a, const void *target, storage * store)
{
connection *b = ((wallcurse *)((curse *)a->data.v)->data.v)->wall;
curse_write(a, target, store);
@ -86,7 +86,7 @@ static int cw_read(attrib * a, void *target, storage * store)
* Was fuer eine Wirkung hat die?
*/
void wall_vigour(curse * c, double delta)
static void wall_vigour(curse * c, double delta)
{
wallcurse *wc = (wallcurse *)c->data.v;
assert(wc->buddy->vigour == c->vigour);
@ -105,7 +105,7 @@ const curse_type ct_firewall = {
wall_vigour /* change_vigour */
};
attrib_type at_cursewall = {
static attrib_type at_cursewall = {
"cursewall",
cw_init,
curse_done,