Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix multiple bugs #53

Open
wants to merge 9 commits into
base: upstream
Choose a base branch
from
10 changes: 5 additions & 5 deletions error.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
* (i.e. & 0x01ff to enable syslog logging)
*/

#define ERR_DEBUG 0x0001
#define ERR_NOTICE 0x0003
#define ERR_WARNING 0x0004
#define ERR_ERROR 0x0005
#define ERR_FATAL 0x0006
#define ERR_DEBUG (0x0001)
#define ERR_NOTICE (0x0003)
#define ERR_WARNING (0x0004)
#define ERR_ERROR (0x0005)
#define ERR_FATAL (0x0006)
#define ERRBUF BUFSIZ

#endif
6 changes: 3 additions & 3 deletions os.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/* set variables for extra features */
#if defined (__sun__) || defined (__sun)
# ifndef __Solaris__
# define __Solaris__ 1
# define __Solaris__ (1)
# endif
#endif

Expand All @@ -47,7 +47,7 @@

#ifdef __HPUX__ /* H P U X */
#define _XOPEN_SOURCE_EXTENDED
#define NO_CURSES_E 1
#define NO_CURSES_E (1)
#include <stdio.h>
#include <sys/param.h>
#include <stdlib.h>
Expand Down Expand Up @@ -200,7 +200,7 @@
#include <linux/if_ppp.h>
#elif defined (__Solaris__) /* S O L A R I S */
#include <stdio.h>
#define NO_CURSES_E 1
#define NO_CURSES_E (1)
#define _WIDEC_H
#include <sys/param.h>
#include <stdlib.h>
Expand Down
Loading