From: Holger Schemel Date: Sun, 5 Sep 2021 21:42:22 +0000 (+0200) Subject: changed function from static to public X-Git-Tag: 4.3.0.0~72 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=bc39dc4e6b3744878aaac18e551554e2c0f0cfb2;p=rocksndiamonds.git changed function from static to public --- diff --git a/src/libgame/setup.c b/src/libgame/setup.c index 7614db85..6c525028 100644 --- a/src/libgame/setup.c +++ b/src/libgame/setup.c @@ -279,7 +279,7 @@ char *getNewUserLevelSubdir(void) return new_level_subdir; } -static char *getTapeDir(char *level_subdir) +char *getTapeDir(char *level_subdir) { static char *tape_dir = NULL; char *data_dir = getUserGameDataDir(); diff --git a/src/libgame/setup.h b/src/libgame/setup.h index 1a79b558..68f67a78 100644 --- a/src/libgame/setup.h +++ b/src/libgame/setup.h @@ -327,6 +327,7 @@ char *getUserLevelDir(char *); char *getNetworkLevelDir(char *); char *getCurrentLevelDir(void); char *getNewUserLevelSubdir(void); +char *getTapeDir(char *); void createDirectory(char *, char *, int); void InitMainUserDataDirectory(void);