Hide struct inside cpp file.

Removed my testing inspiration from tip file.
This commit is contained in:
Sanel Zukan
2008-02-12 14:52:10 +00:00
parent ed9c4a0228
commit 0ad832e770
3 changed files with 9 additions and 10 deletions

View File

@ -11,8 +11,16 @@
*/
#include "Fortune.h"
#include <netinet/in.h>
#include <ctype.h>
#include <stdio.h>
struct FortuneFile {
FILE* str_file;
FILE* dat_file;
StrFile data;
};
FortuneFile* fortune_open(const char* str_path, const char* dat_path) {
FILE* sp = fopen(str_path, "r");