Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #7 from jerryhjones/master

Fixed warnings for missing function prototypes
  • Loading branch information...
commit cf6ceff2fd4e52b1b4b8a3b273b6a9b445cf560c 2 parents f0eecab + 6d6b8a5
@kgn authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 KGNoise.m
View
4 KGNoise.m
@@ -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]);
Please sign in to comment.
Something went wrong with that request. Please try again.