OSDN Git Service

Declare internal routine as static to avoid warning about missing prototype.
authorEric Branlund <ebranlund@fastmail.com>
Sat, 12 Jun 2021 23:27:55 +0000 (16:27 -0700)
committerEric Branlund <ebranlund@fastmail.com>
Sat, 12 Jun 2021 23:27:55 +0000 (16:27 -0700)
src/main-cocoa.m

index 771b3de..1965c77 100644 (file)
@@ -1973,7 +1973,7 @@ static void draw_image_tile(
  * for future changes to the set of flags without needed to update it here
  * (unless the underlying types change).
  */
-u32b AngbandMaskForValidSubwindowFlags(void)
+static u32b AngbandMaskForValidSubwindowFlags(void)
 {
     int windowFlagBits = sizeof(*(window_flag)) * CHAR_BIT;
     int maxBits = MIN( 32, windowFlagBits );