j
This commit is contained in:
@@ -259,6 +259,7 @@ void pretty_print(struct node *root){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
if (argc == 1)
|
if (argc == 1)
|
||||||
return 1;
|
return 1;
|
||||||
@@ -273,7 +274,7 @@ int main(int argc, char *argv[]) {
|
|||||||
delete_tree(root);
|
delete_tree(root);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#include "expansion.h"
|
#include "expansion.h"
|
||||||
|
|
||||||
char *weird_copy(const char *input){
|
char *weird_copy(const char *input){
|
||||||
|
(void) input;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,17 +5,21 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
struct node *create_node(const char *line){
|
struct node *create_node(const char *line){
|
||||||
|
(void) line;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct node *parse_file(const char *filename){
|
struct node *parse_file(const char *filename){
|
||||||
|
(void) filename;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void execute_tree(struct node *node, int value){
|
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"
|
#include "vector_tree.h"
|
||||||
|
|
||||||
struct vector *insert(struct vector *tree, int value){
|
struct vector *insert(struct vector *tree, int value){
|
||||||
|
(void) tree;
|
||||||
|
(void) value;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void delete_node(struct vector *tree, int value){
|
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"
|
#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"
|
#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