Rename global.h to util.h
The functionality has changed since we no longer need a place for global variables.
This commit is contained in:
@ -17,6 +17,9 @@
|
||||
*/
|
||||
#include "arg_parse.h"
|
||||
|
||||
#include "util.h"
|
||||
#include <string.h>
|
||||
|
||||
enum cmd_id parse_args(const char *cmd) {
|
||||
for(int i = 0; i < (int)ARRAY_LEN(commands); ++i) {
|
||||
for(int j = 0; j < (int)ARRAY_LEN(commands[i].str); ++j) {
|
||||
|
@ -17,11 +17,6 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "global.h"
|
||||
|
||||
enum cmd_id {
|
||||
CMD_UNKNOWN = 0,
|
||||
CMD_HELP,
|
||||
|
Reference in New Issue
Block a user