Skip to content

Commit 3bbf085

Browse files
committed
misc adjustments
1 parent a7c8789 commit 3bbf085

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ In case BZip2 can't be found automatically, use option `--with-bz2` to specify t
3838
./configure --with-bz2=/usr/local/opt/bzip2 # When BZip2 is installed via Homebrew on MacOS.
3939
```
4040

41-
## Functions
41+
## Usage
4242

4343
There are two PHP functions added by the extension:
4444

@@ -54,5 +54,11 @@ function bsdiff_diff(string $old_file, string $new_file, string $diff_file): voi
5454
function bsdiff_patch(string $old_file, string $new_file, string $diff_file): void {}
5555
```
5656

57+
---
58+
59+
## License
60+
61+
[The PHP license](LICENSE).
62+
5763
[1]: https://github.com/mendsley/bsdiff
5864
[2]: http://www.daemonology.net/papers/bsdiff.pdf

php_bsdiff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
#ifdef HAVE_CONFIG_H
20-
# include "config.h"
20+
#include "config.h"
2121
#endif
2222

2323
#include "php.h"

php_bsdiff.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
extern zend_module_entry bsdiff_module_entry;
2323
# define phpext_bsdiff_ptr &bsdiff_module_entry
2424

25-
#define PHP_BSDIFF_VERSION "0.1.0-dev"
25+
#define PHP_BSDIFF_VERSION "0.1.0"
2626

2727
# if defined(ZTS) && defined(COMPILE_DL_BSDIFF)
2828
ZEND_TSRMLS_CACHE_EXTERN()

0 commit comments

Comments
 (0)