X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cde%2Fprograms%2Fdtdocbook%2Finstant%2Futil.c;h=9a782692def0eb02b297e72b696323cbd1c271a1;hb=419a7efff4541e7327bc1c4e28c4d8f16fb81035;hp=eb3d26472ab53da6d21c5354d7b7df2c0b66cc5d;hpb=0ecef859cfacb5118ef489be5b09b2cde7a70195;p=oweals%2Fcde.git diff --git a/cde/programs/dtdocbook/instant/util.c b/cde/programs/dtdocbook/instant/util.c index eb3d2647..9a782692 100644 --- a/cde/programs/dtdocbook/instant/util.c +++ b/cde/programs/dtdocbook/instant/util.c @@ -16,7 +16,7 @@ * details. * * You should have received a copy of the GNU Lesser General Public - * License along with these librararies and programs; if not, write + * License along with these libraries and programs; if not, write * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth * Floor, Boston, MA 02110-1301 USA */ @@ -608,7 +608,7 @@ OutputString( /* ______________________________________________________________________ */ /* resets the output buffer */ -void ClearOutputBuffer() +void ClearOutputBuffer(void) { outputBuffer.current = outputBuffer.base; } @@ -617,7 +617,7 @@ outputBuffer.current = outputBuffer.base; /* determines if there is already some text in the output buffer, * returns 1 if so, else 0 */ -int OutputBufferActive() +int OutputBufferActive(void) { return (outputBuffer.current != outputBuffer.base); } @@ -625,7 +625,7 @@ return (outputBuffer.current != outputBuffer.base); /* ______________________________________________________________________ */ /* terminates output buffer with a null char and returns the buffer */ -char *GetOutputBuffer() +char *GetOutputBuffer(void) { if (CheckOutputBuffer(1)) *(outputBuffer.current)++ = '\0';