aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid M. Syzdek <syzdek@bindlebinaries.com>2019-07-09 22:02:02 -0800
committerDavid M. Syzdek <syzdek@bindlebinaries.com>2019-07-09 22:02:22 -0800
commit0d1f12bcbccbe7efe5ee3385008c06b5d3dd34bf (patch)
treed36fe372080ab9db7c809c7cb17c4fe0916fcad6
parentda956b8a88ec3de549fbb92e735268fede950ed5 (diff)
downloadsecurecoreutils-0d1f12bcbccbe7efe5ee3385008c06b5d3dd34bf.tar.gz
securecoreutils-0d1f12bcbccbe7efe5ee3385008c06b5d3dd34bf.tar.bz2
securecoreutils-0d1f12bcbccbe7efe5ee3385008c06b5d3dd34bf.tar.xz
securecoreutils-0d1f12bcbccbe7efe5ee3385008c06b5d3dd34bf.zip
removing restrict from prototypes
-rw-r--r--configure.ac1
-rw-r--r--src/widget-touch.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 0693f84..1f05ccb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,7 +72,6 @@ AC_PROG_INSTALL
72AC_PROG_MAKE_SET 72AC_PROG_MAKE_SET
73AC_USE_SYSTEM_EXTENSIONS # replaces AC_AIX AC_GNU_SOURCE AC_MINIX 73AC_USE_SYSTEM_EXTENSIONS # replaces AC_AIX AC_GNU_SOURCE AC_MINIX
74AC_C_BIGENDIAN 74AC_C_BIGENDIAN
75AC_C_RESTRICT
76 75
77 76
78# Version Info: 77# Version Info:
diff --git a/src/widget-touch.c b/src/widget-touch.c
index 1aa3a19..68ba5e2 100644
--- a/src/widget-touch.c
+++ b/src/widget-touch.c
@@ -65,7 +65,7 @@
65#endif 65#endif
66 66
67void scu_widget_touch_usage(scu_config * cnf); 67void scu_widget_touch_usage(scu_config * cnf);
68time_t scu_widget_touch_strtime(char *restrict s, time_t t); 68time_t scu_widget_touch_strtime(char * s, time_t t);
69 69
70 70
71///////////////// 71/////////////////
@@ -305,7 +305,7 @@ int scu_widget_touch(scu_config * cnf)
305} 305}
306 306
307 307
308time_t scu_widget_touch_strtime(char *restrict s, time_t t) 308time_t scu_widget_touch_strtime(char * s, time_t t)
309{ 309{
310 310
311 size_t len; 311 size_t len;