Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=yaxmenu.git;a=commitdiff;h=d06b9c90d7c9df116a8fd62f2eb0448d97dc5b68

commit d06b9c90d7c9df116a8fd62f2eb0448d97dc5b68
Author: James Buren <r...@frugalware.org>
Date:   Mon Dec 7 13:22:48 2009 -0600

Revert "utility.c"

This reverts commit c56cd8fb36768f68f9c2189d7838fc680f211200.

diff --git a/src/utility.c b/src/utility.c
index c254d62..ba56763 100644
--- a/src/utility.c
+++ b/src/utility.c
@@ -19,7 +19,6 @@
// THE SOFTWARE.

#include "globals.h"
-#include "flags.h"
#include "utility.h"

static const char comment_char       = '#';
@@ -112,27 +111,6 @@ char *xstrtrim(char *str) {
return str;
}

-FILE *xgetfile(const char *fmt,...) {
-  FILE *file;
-  char path[PATH_MAX];
-  va_list args;
-
-  assert(fmt);
-
-  va_start(args,fmt);
-
-  xvsnprintf(path,fmt,args);
-
-  file = fopen(path,"r");
-
-  if(!file && G->flags & FLAG_VERBOSE)
-    eprintf("%s: %s\n",strerror(errno),path);
-
-  va_end(args);
-
-  return file;
-}
-
size_t xparsefile(FILE *file,parser_callback_t fun) {
char line[LINE_MAX];
size_t num;
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to