* adaint.c (__gnat_locate_exec_on_path): Use const char * instead
of char * for path_val to avoid warnings.
From-SVN: r232448
+2016-01-15 Jakub Jelinek <jakub@redhat.com>
+
+ * adaint.c (__gnat_locate_exec_on_path): Use const char * instead
+ of char * for path_val to avoid warnings.
+
2016-01-06 Pierre-Marie de Rodat <derodat@adacore.com>
* gcc-interface/utils.c: Bump copyright year.
WS2SC (apath_val, wapath_val, EXPAND_BUFFER_SIZE);
#else
- char *path_val = getenv ("PATH");
+ const char *path_val = getenv ("PATH");
/* If PATH is not defined, proceed with __gnat_locate_exec anyway, so we can
find files that contain directory names. */