diff options
author | Mats O Jansson <maja@cvs.openbsd.org> | 2006-04-29 16:26:57 +0000 |
---|---|---|
committer | Mats O Jansson <maja@cvs.openbsd.org> | 2006-04-29 16:26:57 +0000 |
commit | 57dd93e4e7b3aa19bad96b65e1df36af2e725b69 (patch) | |
tree | d89d9eaba5cb7b4bff4f5516b7958d0166cf6dca /usr.sbin/mopd/common/file.h | |
parent | 657af46631787afef0ccb38c58cfa95066cdcf49 (diff) |
Change the compile time option -DINFO into a runtime option to get ride
of some lint warnings. -moj
Diffstat (limited to 'usr.sbin/mopd/common/file.h')
-rw-r--r-- | usr.sbin/mopd/common/file.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.sbin/mopd/common/file.h b/usr.sbin/mopd/common/file.h index cca0e122175..5f719b0be03 100644 --- a/usr.sbin/mopd/common/file.h +++ b/usr.sbin/mopd/common/file.h @@ -1,4 +1,4 @@ -/* $OpenBSD: file.h,v 1.9 2004/04/14 20:37:28 henning Exp $ */ +/* $OpenBSD: file.h,v 1.10 2006/04/29 16:26:56 maja Exp $ */ /* * Copyright (c) 1993-95 Mats O Jansson. All rights reserved. @@ -23,25 +23,27 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $OpenBSD: file.h,v 1.9 2004/04/14 20:37:28 henning Exp $ + * $OpenBSD: file.h,v 1.10 2006/04/29 16:26:56 maja Exp $ * */ #ifndef _FILE_H_ #define _FILE_H_ +#define INFO_PRINT 1 + void mopFilePutLX(u_char *, int, u_long, int); void mopFilePutBX(u_char *, int, u_long, int); u_long mopFileGetLX(void *, int, int); u_long mopFileGetBX(void *, int, int); void mopFileSwapX(void *, int, int); int CheckMopFile(int); -int GetMopFileInfo(int, u_long *, u_long *); +int GetMopFileInfo(int, u_long *, u_long *, int); int CheckAOutFile(int); int GetAOutFileInfo(int, u_long *, u_long *, u_long *, u_long *, - u_long *, u_long *, u_long *, u_long *, int *); + u_long *, u_long *, u_long *, u_long *, int *, int); int GetFileInfo(int, u_long *, u_long *, int *, u_long *, u_long *, - u_long *, u_long *, u_long *, u_long *); + u_long *, u_long *, u_long *, u_long *, int); ssize_t mopFileRead(struct dllist *, u_char *); #endif /* _FILE_H_ */ |