ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/liblzf/lzf.c
(Generate patch)

Comparing liblzf/lzf.c (file contents):
Revision 1.2 by root, Sun Nov 17 11:39:26 2002 UTC vs.
Revision 1.3 by pcg, Tue Dec 23 04:52:00 2003 UTC

1/* 1/*
2 * Copyright (c) 2000-2002 Marc Alexander Lehmann <pcg@goof.com> 2 * Copyright (c) 2000-2003 Marc Alexander Lehmann <pcg@goof.com>
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without modifica- 4 * Redistribution and use in source and binary forms, with or without modifica-
5 * tion, are permitted provided that the following conditions are met: 5 * tion, are permitted provided that the following conditions are met:
6 * 6 *
7 * 1. Redistributions of source code must retain the above copyright notice, 7 * 1. Redistributions of source code must retain the above copyright notice,
35#include <unistd.h> 35#include <unistd.h>
36#include <getopt.h> 36#include <getopt.h>
37 37
38#include "lzf.h" 38#include "lzf.h"
39 39
40typedef unsigned char u8;
41
40static void 42static void
41usage (int ec) 43usage (int ec)
42{ 44{
43 fprintf (stderr, "\n" 45 fprintf (stderr, "\n"
44 "lzf, a very leightweight compression/decompression filter\n" 46 "lzf, a very lightweight compression/decompression filter\n"
45 "written by Marc Lehmann <pcg@goof.com> You can find more info at\n" 47 "written by Marc Lehmann <pcg@goof.com> You can find more info at\n"
46 "http://liblzv.plan9.de/\n" 48 "http://liblzf.plan9.de/\n"
47 "\n" 49 "\n"
48 "USAGE: lzf -c [-b blocksize] | -d\n" 50 "USAGE: lzf -c [-b blocksize] | -d\n"
49 " -c compress\n" 51 " -c compress\n"
50 " -d decompress\n" 52 " -d decompress\n"
51 " -b specify the blocksize (default 64k-1)\n" 53 " -b specify the blocksize (default 64k-1)\n"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines