fix: Remove last two compiler warnings (comment and macro redef)

Escaped block comment in session.c and removed redundant _GNU_SOURCE
define in main.c (already set via -D flag in Makefile).
Build now produces zero warnings under -Wall -Wextra.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
tr4m0ryp 2026-04-05 03:36:29 +02:00
parent 3cf511c992
commit 74557ab64d
2 changed files with 1 additions and 2 deletions

View file

@ -274,7 +274,7 @@ int session_activate(device_info_t *dev, plist_t activation_record,
* In the online flow, stage 4 would first POST to * In the online flow, stage 4 would first POST to
* APPLE_DEVICE_ACTIVATION_URL with: * APPLE_DEVICE_ACTIVATION_URL with:
* Content-Type: application/x-www-form-urlencoded * Content-Type: application/x-www-form-urlencoded
* Accept: *\/* * Accept: all types
* Body: "activation-info=" + URL-encoded activation plist * Body: "activation-info=" + URL-encoded activation plist
* The HTTP response body + headers would then be passed here. * The HTTP response body + headers would then be passed here.
* *

View file

@ -6,7 +6,6 @@
* bypass execution. Orchestration only -- no business logic. * bypass execution. Orchestration only -- no business logic.
*/ */
#define _GNU_SOURCE
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>