Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 082353e0b8 |
@@ -259,6 +259,7 @@ void pretty_print(struct node *root){
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
int main(int argc, char *argv[]) {
|
||||
if (argc == 1)
|
||||
return 1;
|
||||
@@ -273,7 +274,7 @@ int main(int argc, char *argv[]) {
|
||||
delete_tree(root);
|
||||
return 0;
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#include "expansion.h"
|
||||
|
||||
char *weird_copy(const char *input){
|
||||
(void) input;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -5,17 +5,21 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
struct node *create_node(const char *line){
|
||||
|
||||
(void) line;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
struct node *parse_file(const char *filename){
|
||||
|
||||
(void) filename;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void execute_tree(struct node *node, int value){
|
||||
return NULL;
|
||||
(void)node;
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[]);
|
||||
int main(int argc, char *argv[]){
|
||||
(void) argc;
|
||||
(void) argv;
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -1,12 +1,16 @@
|
||||
#include "vector_tree.h"
|
||||
|
||||
struct vector *insert(struct vector *tree, int value){
|
||||
|
||||
(void) tree;
|
||||
(void) value;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void delete_node(struct vector *tree, int value){
|
||||
return;
|
||||
|
||||
(void) tree;
|
||||
(void) value;
|
||||
return;
|
||||
}
|
||||
|
||||
void pretty_print(struct vector *tree);
|
||||
void pretty_print(struct vector *tree){ (void) tree;}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#include "evaluate_rpn.h"
|
||||
|
||||
int evaluate_rpn(struct queue *queue){return 0 ;}
|
||||
int evaluate_rpn(struct queue *queue){(void) queue;return 0 ;}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#include "parse_exp.h"
|
||||
|
||||
struct queue *parse_expression(const char *str){return NULL;}
|
||||
struct queue *parse_expression(const char *str){(void) str;return NULL;}
|
||||
|
||||
Reference in New Issue
Block a user