diff options
author | axel <axel@liljencrantz.se> | 2006-10-20 01:19:47 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-10-20 01:19:47 +1000 |
commit | 2d05b1c1b4cf51df30903a24d1d7944aa1b8eeb7 (patch) | |
tree | 8f447868c883184e67770e41e02c76321c38c038 /exec.h | |
parent | ea998b03f236be4e8af73474d994af5bbc4b0287 (diff) |
Add compiler warnings for some common incorrect usage of functions, such as forgetting to cast null pointers to variadic functions
darcs-hash:20061019151947-ac50b-4043638a7a830fa80fd918f92365f5afe3ff208a.gz
Diffstat (limited to 'exec.h')
-rw-r--r-- | exec.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -51,8 +51,8 @@ void exec( job_t *j ); \return the status of the last job to exit, or -1 if en error was encountered. */ -int exec_subshell( const wchar_t *cmd, - array_list_t *l ); +__warn_unused int exec_subshell( const wchar_t *cmd, + array_list_t *l ); /** |