Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions axoverlay/app/axoverlay.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,15 +342,8 @@ static gboolean signal_handler(gpointer loop) {
*
* This main function draws two plain boxes and one text, using the
* API axoverlay.
*
* param argc Number of arguments.
* param argv Arguments vector.
*/
int main(int argc, char** argv) {
/* Silence compiler warnings for unused parameters/arguments */
(void)argc;
(void)argv;

int main(void) {
GMainLoop* loop = NULL;
GError* error = NULL;
GError* error_text = NULL;
Expand Down
3 changes: 0 additions & 3 deletions axstorage/app/axstorage.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,6 @@ static disk_item_t* new_disk_item_t(gchar* storage_id) {
/**
* @brief Main function
*
* @param argc Number of arguments
* @param argv Arguments vector
*
* @return Result
*/
gint main(void) {
Expand Down
1 change: 0 additions & 1 deletion curl-openssl/app/curl_openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,5 +226,4 @@ int main(void) {
}
// Cleanup of curl global environment
curl_global_cleanup();
return 0;
}
9 changes: 1 addition & 8 deletions hello-world/app/hello_world.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,8 @@
* brief Main function.
*
* This main function writes "hello_world" to the syslog.
*
* param argc Number of arguments.
* param argv Arguments vector.
*/
int main(int argc, char** argv) {
/* Silence compiler warnings for unused parameters/arguments */
(void)argc;
(void)argv;

int main(void) {
/* Open the syslog to report messages for "hello_world" */
openlog("hello_world", LOG_PID | LOG_CONS, LOG_USER);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ static void sig_handler(int signum) {
// Do nothing, just let pause in main return.
}

int main(int argc, char** argv) {
(void)argc;
(void)argv;
int main(void) {
syslog(LOG_INFO, "Subscriber started...");

// For com.axis.analytics_scene_description.v0.beta source corresponds to the
Expand Down
9 changes: 1 addition & 8 deletions reproducible-package/app/reproducible_package.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,8 @@
* brief Main function.
*
* This main function writes "Hello Reproducible World" to the syslog.
*
* param argc Number of arguments.
* param argv Arguments vector.
*/
int main(int argc, char** argv) {
/* Silence compiler warnings for unused parameters/arguments */
(void)argc;
(void)argv;

int main(void) {
/* Open the syslog to report messages for "reproducible_package" */
openlog("reproducible_package", LOG_PID | LOG_CONS, LOG_USER);

Expand Down