freemyipod r655 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r654‎ | r655 | r656 >
Date:18:24, 24 March 2011
Author:theseven
Status:new
Tags:
Comment:
Make library API table definitions static
Modified paths:
  • /libs/boot/main.c (modified) (history)
  • /libs/mkfat32/main.c (modified) (history)
  • /libs/png/main.c (modified) (history)
  • /libs/ui/main.c (modified) (history)

Diff [purge]

Index: libs/boot/main.c
@@ -25,7 +25,7 @@
2626 #include "export/libboot.h"
2727
2828
29 -struct libboot_api apitable =
 29+static struct libboot_api apitable =
3030 {
3131 .verify_rockbox_checksum = verify_rockbox_checksum
3232 };
Index: libs/png/main.c
@@ -25,7 +25,7 @@
2626 #include "export/libpng.h"
2727
2828
29 -struct libpng_api apitable =
 29+static struct libpng_api apitable =
3030 {
3131 .png_open = png_open,
3232 .png_get_width = png_get_width,
Index: libs/mkfat32/main.c
@@ -25,7 +25,7 @@
2626 #include "export/libmkfat32.h"
2727
2828
29 -struct libmkfat32_api apitable =
 29+static struct libmkfat32_api apitable =
3030 {
3131 .mkfat32 = mkfat32
3232 };
Index: libs/ui/main.c
@@ -25,7 +25,7 @@
2626 #include "export/libui.h"
2727
2828
29 -struct libui_api apitable =
 29+static struct libui_api apitable =
3030 {
3131 .fill = fill,
3232 .blit = blit,