summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2017-10-13 15:40:58 +0200
committerjvoisin2017-10-13 15:40:58 +0200
commita081d0ddea4103c1772378870a005267a7bce332 (patch)
treedca68b1e66899239a7528a06e64cab70b9a7620a
parent5969073a80b18b2c21e7c2b1c2c3cdedff618b21 (diff)
Improve the doc wrt. the Debian package
- Fix two minor warnings - Improve the documentation
-rw-r--r--debian/source/format1
-rw-r--r--doc/source/download.rst11
-rw-r--r--doc/source/installation.rst2
-rw-r--r--src/sp_disabled_functions.h4
-rw-r--r--src/sp_utils.h4
5 files changed, 12 insertions, 10 deletions
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..9f8e9b6
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
1.0 \ No newline at end of file
diff --git a/doc/source/download.rst b/doc/source/download.rst
index f9132ac..fa60a99 100644
--- a/doc/source/download.rst
+++ b/doc/source/download.rst
@@ -1,17 +1,18 @@
1Download 1Download
2======== 2========
3 3
4Debian 4Debian and Ubuntu
5------ 5-----------------
6 6
7 7We're currently not providing Debian or Ubuntu packages,
8Ubuntu 8but you can build your own by cloning the source code and typing ``make debian``.
9------
10 9
11 10
12Source code 11Source code
13----------- 12-----------
14 13
14We're currently using *github* as public code repository.
15
15:: 16::
16 17
17 git clone https://github.com/nbs-system/snuffleupagus 18 git clone https://github.com/nbs-system/snuffleupagus
diff --git a/doc/source/installation.rst b/doc/source/installation.rst
index c7fe55b..7f8c8c8 100644
--- a/doc/source/installation.rst
+++ b/doc/source/installation.rst
@@ -1,7 +1,7 @@
1Installation 1Installation
2============ 2============
3 3
4Snuffleupagus is tested against various PHP 7+ versions: XXX 4Snuffleupagus is tested against `various PHP 7+ versions <https://travis-ci.org/nbs-system/snuffleupagus/>`_.
5 5
6Manual installation 6Manual installation
7------------------- 7-------------------
diff --git a/src/sp_disabled_functions.h b/src/sp_disabled_functions.h
index 680eabb..260d430 100644
--- a/src/sp_disabled_functions.h
+++ b/src/sp_disabled_functions.h
@@ -1,10 +1,6 @@
1#ifndef __SP_DISABLE_FUNCTIONS_H 1#ifndef __SP_DISABLE_FUNCTIONS_H
2#define __SP_DISABLE_FUNCTIONS_H 2#define __SP_DISABLE_FUNCTIONS_H
3 3
4#include "ext/hash/php_hash.h"
5#include "ext/hash/php_hash_sha.h"
6#include "ext/standard/md5.h"
7
8int hook_disabled_functions(); 4int hook_disabled_functions();
9bool should_disable(zend_execute_data* function_name); 5bool should_disable(zend_execute_data* function_name);
10 6
diff --git a/src/sp_utils.h b/src/sp_utils.h
index 61a4c53..751b0b1 100644
--- a/src/sp_utils.h
+++ b/src/sp_utils.h
@@ -1,6 +1,10 @@
1#ifndef SP_UTILS_H 1#ifndef SP_UTILS_H
2#define SP_UTILS_H 2#define SP_UTILS_H
3 3
4#include "ext/hash/php_hash.h"
5#include "ext/hash/php_hash_sha.h"
6#include "ext/standard/md5.h"
7
4#include "sp_config.h" 8#include "sp_config.h"
5#include "sp_list.h" 9#include "sp_list.h"
6 10