Permalink
Browse files

cleanup

  • Loading branch information...
1 parent e585734 commit cb26e466a9d953c46b2aea5c830b719cf3f7409c @dividuum committed Dec 11, 2012
Showing with 12 additions and 12 deletions.
  1. +1 −1 Makefile
  2. +2 −2 font.c
  3. +2 −2 image.c
  4. +1 −1 main.c
  5. +2 −2 shader.c
  6. +2 −2 video.c
  7. +2 −2 vnc.c
View
@@ -29,7 +29,7 @@ LUA_LUAC ?= luac
endif
CFLAGS += -DVERSION='"$(VERSION)"'
-CFLAGS += $(LUA_CFLAGS) -I/usr/include/freetype2/ -I/usr/include/ffmpeg -std=c99 -Wall -Wno-unused-function -Wno-unused-variable
+CFLAGS += $(LUA_CFLAGS) -I/usr/include/freetype2/ -I/usr/include/ffmpeg -std=c99 -Wall
LDFLAGS += $(LUA_LDFLAGS) -levent -lglfw -lGL -lGLU -lGLEW -lftgl -lIL -lILU -lavformat -lavcodec -lavutil -lswscale -lz
all: info-beamer
View
4 font.c
@@ -17,7 +17,7 @@ typedef struct {
GLuint tex;
} font_t;
-LUA_TYPE_DECL(font);
+LUA_TYPE_DECL(font)
/* Instance methods */
@@ -99,4 +99,4 @@ static int font_gc(lua_State *L) {
return 0;
}
-LUA_TYPE_IMPL(font);
+LUA_TYPE_IMPL(font)
View
@@ -21,7 +21,7 @@ typedef struct {
int height;
} image_t;
-LUA_TYPE_DECL(image);
+LUA_TYPE_DECL(image)
/* Instance methods */
@@ -152,4 +152,4 @@ static int image_gc(lua_State *L) {
return 0;
}
-LUA_TYPE_IMPL(image);
+LUA_TYPE_IMPL(image)
View
2 main.c
@@ -1283,7 +1283,7 @@ static void open_tcp(struct event *event) {
}
static void tick() {
- now = glfwGetTime();
+ now = glfwGetTime();
check_inotify();
View
@@ -38,7 +38,7 @@ typedef struct {
GLuint po;
} shader_t;
-LUA_TYPE_DECL(shader);
+LUA_TYPE_DECL(shader)
/* Instance methods */
@@ -206,4 +206,4 @@ static int shader_gc(lua_State *L) {
return 0;
}
-LUA_TYPE_IMPL(shader);
+LUA_TYPE_IMPL(shader)
View
@@ -54,7 +54,7 @@ typedef struct {
double fps;
} video_t;
-LUA_TYPE_DECL(video);
+LUA_TYPE_DECL(video)
/* Helper functions */
@@ -375,4 +375,4 @@ static int video_gc(lua_State *L) {
return 0;
}
-LUA_TYPE_IMPL(video);
+LUA_TYPE_IMPL(video)
View
4 vnc.c
@@ -60,7 +60,7 @@ struct vnc_s {
int rect_h;
};
-LUA_TYPE_DECL(vnc);
+LUA_TYPE_DECL(vnc)
/* Instance methods */
@@ -501,4 +501,4 @@ static int vnc_gc(lua_State *L) {
return 0;
}
-LUA_TYPE_IMPL(vnc);
+LUA_TYPE_IMPL(vnc)

0 comments on commit cb26e46

Please sign in to comment.