Declare getsose() & friends in one place
This commit is contained in:
parent
9fb9653ed7
commit
e049ad6a56
2 changed files with 6 additions and 5 deletions
|
@ -53,7 +53,11 @@ extern FILE *auxfp;
|
||||||
void getsose(void);
|
void getsose(void);
|
||||||
void putso(void);
|
void putso(void);
|
||||||
void putse(void);
|
void putse(void);
|
||||||
#endif
|
#else /* !_WIN32 */
|
||||||
|
#define getsose() ((void)0)
|
||||||
|
#define putso() ((void)0)
|
||||||
|
#define putse() ((void)0)
|
||||||
|
#endif /* !WIN32 */
|
||||||
int recvline(int s, char *buf);
|
int recvline(int s, char *buf);
|
||||||
int parseid(char *);
|
int parseid(char *);
|
||||||
int expect(int s, int match, char *buf);
|
int expect(int s, int match, char *buf);
|
||||||
|
|
|
@ -87,7 +87,4 @@ extern void sysdep_init(void);
|
||||||
#define pclose _pclose
|
#define pclose _pclose
|
||||||
#define popen _popen
|
#define popen _popen
|
||||||
#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
#define getsose() ((void)0)
|
#endif
|
||||||
#define putso() ((void)0)
|
|
||||||
#define putse() ((void)0)
|
|
||||||
#endif /* sysdef_w32.h */
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue