From 7de5d32ff534191232039a275c68ad3552d8ff58 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 8 Dec 2006 01:26:11 +0000 Subject: cmdlinelib.c now calls system() rather than doing its own tokenisation (which was extremely heavy on calls to malloc()). Moved include/command.h to include/gpxe/command.h, since it's gPXE-specific. --- src/include/command.h | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 src/include/command.h (limited to 'src/include/command.h') diff --git a/src/include/command.h b/src/include/command.h deleted file mode 100644 index 113ca2f0a..000000000 --- a/src/include/command.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef COMMAND_H -#define COMMAND_H - -#include - -struct command { - const char *name; // The name of the command - const char *usage; // Description of how to use the command - const char *desc; // Short description of the command - int ( *exec ) ( int argc, char **argv); // The command function to call -}; - -#define __command __table ( commands, 01 ) -#endif - -- cgit v1.2.3-55-g7522