Browse files

Add 'static' to private function to avoid "Missing Function Prototype…

…s" warnings.
  • Loading branch information...
jerryhjones committed Dec 2, 2012
1 parent 8859b94 commit 6d6b8a5df02593f5e6637ad0540bc32a150dd0c8
Showing with 2 additions and 2 deletions.
  1. +2 −2 KGNoise.m
@@ -11,9 +11,9 @@
static NSUInteger const kImageSize = 128;
-CGFloat *gradientComponentsForColors(UIColor *color1, UIColor *color2){
+static CGFloat *gradientComponentsForColors(UIColor *color1, UIColor *color2){
-CGFloat *gradientComponentsForColors(NSColor *color1, NSColor *color2){
+static CGFloat *gradientComponentsForColors(NSColor *color1, NSColor *color2){
CGFloat *components = malloc(8*sizeof(CGFloat));
const CGFloat *alternateBackgroundComponents = CGColorGetComponents([color1 CGColor]);

0 comments on commit 6d6b8a5

Please sign in to comment.