Permalink
Browse files

Merge pull request #7 from jerryhjones/master

Fixed warnings for missing function prototypes
  • Loading branch information...
2 parents f0eecab + 6d6b8a5 commit cf6ceff2fd4e52b1b4b8a3b273b6a9b445cf560c @kgn committed Jan 10, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 KGNoise.m
View
@@ -11,9 +11,9 @@
static NSUInteger const kImageSize = 128;
#if TARGET_OS_IPHONE
-CGFloat *gradientComponentsForColors(UIColor *color1, UIColor *color2){
+static CGFloat *gradientComponentsForColors(UIColor *color1, UIColor *color2){
#else
-CGFloat *gradientComponentsForColors(NSColor *color1, NSColor *color2){
+static CGFloat *gradientComponentsForColors(NSColor *color1, NSColor *color2){
#endif
CGFloat *components = malloc(8*sizeof(CGFloat));
const CGFloat *alternateBackgroundComponents = CGColorGetComponents([color1 CGColor]);

0 comments on commit cf6ceff

Please sign in to comment.