Moved types.h to header files (prototypes)

main
Thomas Ba. 13 years ago
parent 123ff51759
commit b0434371a1

@ -1,4 +1,3 @@
#include "types.h"
#include <stdio.h>
#include "html.h"

@ -1,6 +1,8 @@
#ifndef html_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#define html_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#include "types.h"
#include <stdio.h>
void genHTML(sudoku * s,FILE * fp);

@ -1,4 +1,3 @@
#include "types.h"
#include "input.h"
#include <string.h>
#include <stdio.h>

@ -1,6 +1,8 @@
#ifndef input_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#define input_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#include "types.h"
/**
* Reads the Sudoku from file
* @param path The File to read from

@ -1,4 +1,3 @@
#include "types.h"
#include "input.h"
#include <string.h>
#include <stdio.h>

@ -1,6 +1,8 @@
#ifndef imput_nstd_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#define imput_nstd_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#include "types.h"
/**
* Reads the Sudoku from file
* @param path The File to read from

@ -19,7 +19,6 @@
* MA 02110-1301, USA.
*/
#include "types.h"
#include "main.h"
#include "input.h"
#include "input_nstd.h"

@ -1,6 +1,8 @@
#ifndef main_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#define main_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#include "types.h"
int main(int argc, char **argv);
void readOptions(int argc, char **argv, options * o);
void newStandard(options * o);

@ -1,4 +1,3 @@
#include "types.h"
#include "output.h"
#include <stdio.h>

@ -1,6 +1,8 @@
#ifndef output_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#define output_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#include "types.h"
/**
* Write the sudoku to a file
* @param fn The Filename

@ -1,4 +1,3 @@
#include "types.h"
#include "output_nstd.h"
#include <stdio.h>

@ -1,6 +1,8 @@
#ifndef output_nstd_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#define output_nstd_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#include "types.h"
/**
* Print the Sudoku on stdout using unicode borders
* @param s The Sudoku

@ -1,4 +1,3 @@
#include "types.h"
#include "output_std.h"
#include <stdio.h>

@ -1,6 +1,8 @@
#ifndef output_std_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#define output_std_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#include "types.h"
/**
* Print the Sudoku on stdout using unicode borders
* @param s The Sudoku

@ -1,4 +1,3 @@
#include "types.h"
#include "solver.h"
int sl_loes(sudoku* s, options * o) {

@ -1,6 +1,8 @@
#ifndef solver_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#define solver_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#include "types.h"
/**
* Tries to solve the Sudoku with logic
* @param s the sudokue to solve

@ -1,4 +1,3 @@
#include "types.h"
#include "solver_nstd.h"
int solver_nstd_check_nums(sudoku* s,int zahl,int z, int sp) {

@ -1,6 +1,8 @@
#ifndef solver_nstd_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#define solver_nstd_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#include "types.h"
/**
* Checks if there are other posibilities for the number if not return 1
* @param s The sudoku struct

@ -1,4 +1,3 @@
#include "types.h"
#include "solver_std.h"
int solver_check_nums(sudoku* s,int zahl,int z, int sp) {

@ -1,6 +1,8 @@
#ifndef solver_std_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#define solver_std_2b894a04_3a0c_4223_bf83_6ab40c0f5e57_h__
#include "types.h"
/**
* Checks if there are other posibilities for the number if not return 1
* @param s The sudoku struct

Loading…
Cancel
Save