Skip to content

Commit

Permalink
Merge pull request #7 from jerryhjones/master
Browse files Browse the repository at this point in the history
Fixed warnings for missing function prototypes
  • Loading branch information
kgn committed Jan 10, 2013
2 parents f0eecab + 6d6b8a5 commit cf6ceff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions KGNoise.m
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit cf6ceff

Please sign in to comment.