Skip to content

Commit

Permalink
fix(lzhuf): Fix lzhuf.h header file (#137)
Browse files Browse the repository at this point in the history
lzhuf.h:
  Add missing include of errno.h
  Remove dangerous commented out code to hack around missing include.

Co-authored-by: John E. Malmberg <wb8tyw@gmail.com>
  • Loading branch information
wb8tyw and JohnMalmberg committed Mar 30, 2022
1 parent 61804f8 commit 08ff004
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libexec/lzhuf.h
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
#ifndef _LZHUF_H
#define _LZHUF_H

#include <errno.h>
#include <stdio.h>


// Added by MARTIN
#ifndef log
#define log no_log
#endif
void no_log(int s,const char *fmt, ...);

#include <stdio.h>

int pwait(void *event); // Some sort of signal to let other threads run?

#include <stdint.h>
typedef int32_t int32;
typedef int16_t int16;

//#define errno 0
#define NULLFILE 0

struct lzhufstruct* AllocStruct();
Expand Down

0 comments on commit 08ff004

Please sign in to comment.