]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* src/commands.h: [SV 62213] Forward-declare struct file / child
authorPaul Smith <psmith@gnu.org>
Sat, 23 Apr 2022 21:13:26 +0000 (17:13 -0400)
committerPaul Smith <psmith@gnu.org>
Sun, 24 Apr 2022 14:39:32 +0000 (10:39 -0400)
src/commands.h
src/remote-cstms.c

index 055624bae616e6c1b8adc46497ab9a6d93a93666..d9d8af658a9f7350b3e1258cc1a6dbff381cb997 100644 (file)
@@ -34,6 +34,9 @@ struct commands
 #define COMMANDS_SILENT         2 /* Silent: @.  */
 #define COMMANDS_NOERROR        4 /* No errors: -.  */
 
+struct file;
+struct child;
+
 RETSIGTYPE fatal_error_signal (int sig);
 void execute_file_commands (struct file *file);
 void print_commands (const struct commands *cmds);
index 3602a27eaac4131f9a650918afff9b2bff9e0dbc..ce1a33f3dadb23537ef04defb068944c0736ab5e 100644 (file)
@@ -19,9 +19,10 @@ You should have received a copy of the GNU General Public License along with
 this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "makeint.h"
+
 #include "filedef.h"
-#include "commands.h"
 #include "job.h"
+#include "commands.h"
 #include "debug.h"
 
 #include <sys/time.h>