File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8181#define MIN (a , b ) ((a) < (b) ? (a) : (b))
8282#endif
8383
84- static volatile char * copyright = LTFS_COPYRIGHT_0 "\n" LTFS_COPYRIGHT_1 "\n" LTFS_COPYRIGHT_2 "\n" \
84+ #ifdef mingw_PLATFORM
85+ static
86+ #endif
87+ volatile char * copyright = LTFS_COPYRIGHT_0 "\n" LTFS_COPYRIGHT_1 "\n" LTFS_COPYRIGHT_2 "\n" \
8588 LTFS_COPYRIGHT_3 "\n" LTFS_COPYRIGHT_4 "\n" LTFS_COPYRIGHT_5 "\n" ;
8689
8790/** \file
Original file line number Diff line number Diff line change 6767#include "libltfs/arch/time_internal.h"
6868#include "libltfs/kmi.h"
6969
70- static volatile char * copyright = LTFS_COPYRIGHT_0 "\n" LTFS_COPYRIGHT_1 "\n" LTFS_COPYRIGHT_2 "\n" \
71- LTFS_COPYRIGHT_3 "\n" LTFS_COPYRIGHT_4 "\n" LTFS_COPYRIGHT_5 "\n" ;
70+ #ifdef mingw_PLATFORM
71+ static
72+ #endif
73+ volatile char * copyright = LTFS_COPYRIGHT_0 "\n" LTFS_COPYRIGHT_1 "\n" LTFS_COPYRIGHT_2 "\n" \
74+ LTFS_COPYRIGHT_3 "\n" LTFS_COPYRIGHT_4 "\n" LTFS_COPYRIGHT_5 "\n" ;
7275
7376#ifdef __APPLE__
7477#include "libltfs/arch/osx/osx_string.h"
@@ -186,7 +189,10 @@ static struct option long_options[] = {
186189 {0 , 0 , 0 , 0 }
187190};
188191
189- static void show_usage (char * appname , struct config_file * config , bool full )
192+ #ifdef mingw_PLATFORM
193+ static
194+ #endif
195+ void show_usage (char * appname , struct config_file * config , bool full )
190196{
191197 ltfsresult (16400 I , appname ); /* Usage: %s [options] filesys */
192198 fprintf (stderr , "\n" );
Original file line number Diff line number Diff line change 6969#include "libltfs/kmi.h"
7070#include "libltfs/tape.h"
7171
72- static volatile char * copyright = LTFS_COPYRIGHT_0 "\n" LTFS_COPYRIGHT_1 "\n" LTFS_COPYRIGHT_2 "\n" \
72+ #ifdef mingw_PLATFORM
73+ static
74+ #endif
75+ volatile char * copyright = LTFS_COPYRIGHT_0 "\n" LTFS_COPYRIGHT_1 "\n" LTFS_COPYRIGHT_2 "\n" \
7376 LTFS_COPYRIGHT_3 "\n" LTFS_COPYRIGHT_4 "\n" LTFS_COPYRIGHT_5 "\n" ;
7477
7578#ifdef __APPLE__
@@ -143,7 +146,10 @@ static struct option long_options[] = {
143146 {0 , 0 , 0 , 0 }
144147};
145148
146- static void show_usage (char * appname , struct config_file * config , bool full )
149+ #ifdef mingw_PLATFORM
150+ static
151+ #endif
152+ void show_usage (char * appname , struct config_file * config , bool full )
147153{
148154 struct libltfs_plugin backend ;
149155 const char * default_backend ;
You can’t perform that action at this time.
0 commit comments