Path: utzoo!attcan!utgpu!watmath!att!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!mcvax!cernvax!pan!jw From: jw@pan.UUCP (Jamie Watson) Newsgroups: comp.sys.ibm.pc.rt Subject: lint library for queue backend library Message-ID: <553@pan.UUCP> Date: 9 Aug 89 09:45:06 GMT Reply-To: jw@pan.UUCP (Jamie Watson) Organization: Adasoft AG, Solothurn, Switzerland Lines: 61 In the process of writing the raw queue backend, I wrote the following lint library for the AIX queue backend library. Use the command lint -c llib-lqb.c to produce llib-lqb.ln. #! /bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh'llib-lqb.c' <<'END_OF_FILE' X/*LINTLIBRARY*/ X Xvoid burst_page(f, w) int(*f)(); {} X Xint get_align() { return(0); } Xint get_copies() { return(0); } Xint get_endgroup() { return(0); } Xint get_feed() { return(0); } Xchar * get_from() { return(""); } Xint get_header() { return(0); } Xchar * get_lastuser() { return(""); } Xchar * get_moddate() { return(""); } Xint get_newuser() { return(0); } Xchar * get_nodeid() { return(""); } Xchar * get_qdate() { return(""); } Xchar * get_title() { return(""); } Xchar * get_to() { return(""); } Xint get_trailer() { return(0); } X Xint log_charge(c) long c; { return(0); } Xint log_init() { return(0); } X /*VARARGS1 PRINTFLIKE1*/ Xint log_message(s) char *s; { return (0); } Xint log_progress(pg, pct) { return(pg); } Xint log_status(s) { return(s); } X Xint put_header(f, w) int(*f)(); { return(w); } Xint put_trailer(f, w) int(*f)(); { return(w); } X X /* This is actually from */ Xchar _sobuf[]; END_OF_FILE if test 900 -ne `wc -c <'llib-lqb.c'`; then echo shar: \"'llib-lqb.c'\" unpacked with wrong size! fi # end of 'llib-lqb.c' fi echo shar: End of shell archive. exit 0