Skip to content

Commit d3dda60

Browse files
committed
remove useless headers and reformat code
1 parent 489bb12 commit d3dda60

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

php_bsdiff.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
#include "php_bsdiff.h"
1515

1616
#include <sys/stat.h>
17-
#include <sys/types.h>
1817
#include <bzlib.h>
19-
#include <err.h>
2018
#include <fcntl.h>
2119
#include <stdint.h>
2220
#include <stdio.h>

php_bsdiff.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/* bsdiff extension for PHP */
22

33
#ifndef PHP_BSDIFF_H
4-
# define PHP_BSDIFF_H
4+
#define PHP_BSDIFF_H
55

66
extern zend_module_entry bsdiff_module_entry;
77
# define phpext_bsdiff_ptr &bsdiff_module_entry
88

9-
# define PHP_BSDIFF_VERSION "0.1.0-dev"
9+
#define PHP_BSDIFF_VERSION "0.1.0-dev"
1010

1111
# if defined(ZTS) && defined(COMPILE_DL_BSDIFF)
1212
ZEND_TSRMLS_CACHE_EXTERN()

0 commit comments

Comments
 (0)