From: kremlin Date: Sat, 16 Aug 2014 01:45:34 +0000 (-0500) Subject: get rid of main.c and references to it, it has been unused for a while now X-Git-Tag: gsoc-final~15 X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?p=systembsd.git;a=commitdiff_plain;h=4c220bedf5e8d90eb14de56a5ca654f1ac304bcb;hp=89048d5b9f63b1fbc3d1520221500ed139dbc28b get rid of main.c and references to it, it has been unused for a while now --- diff --git a/Makefile b/Makefile index 48d3b87..9664f9e 100644 --- a/Makefile +++ b/Makefile @@ -59,7 +59,6 @@ INVOKE_GENFILE_SCRIPT= \ all: build build: _build_interface_objs - $(CC) -o bin/out.bin $(CFLAGS) $(GLIBEF) $(SRCDIR)/main.c clean: find ./bin -type f -exec rm {} \; diff --git a/src/main.c b/src/main.c deleted file mode 100644 index 346d87e..0000000 --- a/src/main.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2014 Ian Sutton - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ - -#include -#include -#include -#include - -int main() { - - GMainLoop *mloop; - mloop = g_main_loop_new(NULL, TRUE); - - g_main_loop_run(mloop); - g_main_loop_unref(mloop); - - return 0; -}