From 9c0cee7cdc0fbd0e934d337ac0a7d10398d0f8a5 Mon Sep 17 00:00:00 2001 From: John R Patek Sr Date: Fri, 8 Mar 2024 00:39:30 +0000 Subject: [PATCH] updated license header and changed main function to be consistent --- examples/pause.c | 4 ++-- examples/pause.cpp | 2 +- include/sigfn.h | 2 +- include/sigfn.hpp | 2 +- src/sigfn.c | 2 +- src/sigfn.cpp | 2 +- tests/unit.cpp | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/pause.c b/examples/pause.c index 91ccb97..baa4fd8 100644 --- a/examples/pause.c +++ b/examples/pause.c @@ -1,5 +1,5 @@ /* -** Copyright 2024 John R. Patek Sr. +** Copyright 2024 Maxtek Consulting ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal @@ -35,7 +35,7 @@ static void handle_signal(int signum, void *userdata); // helper function to abstract platform dependent sleep functions static void sleep_for(int ms); -int main() +int main(int argc, const char **argv) { // used to store signum int flag; diff --git a/examples/pause.cpp b/examples/pause.cpp index f38f8b4..238f9c1 100644 --- a/examples/pause.cpp +++ b/examples/pause.cpp @@ -1,5 +1,5 @@ /* -** Copyright 2024 John R. Patek Sr. +** Copyright 2024 Maxtek Consulting ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal diff --git a/include/sigfn.h b/include/sigfn.h index 92b5c86..8e633e4 100644 --- a/include/sigfn.h +++ b/include/sigfn.h @@ -1,5 +1,5 @@ /* -** Copyright 2024 John R. Patek Sr. +** Copyright 2024 Maxtek Consulting ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal diff --git a/include/sigfn.hpp b/include/sigfn.hpp index cfd6903..652dad7 100644 --- a/include/sigfn.hpp +++ b/include/sigfn.hpp @@ -1,5 +1,5 @@ /* -** Copyright 2024 John R. Patek Sr. +** Copyright 2024 Maxtek Consulting ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal diff --git a/src/sigfn.c b/src/sigfn.c index 7ba0330..864ba56 100644 --- a/src/sigfn.c +++ b/src/sigfn.c @@ -1,5 +1,5 @@ /* -** Copyright 2024 John R. Patek Sr. +** Copyright 2024 Maxtek Consulting ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal diff --git a/src/sigfn.cpp b/src/sigfn.cpp index 74f7511..9c4b1a4 100644 --- a/src/sigfn.cpp +++ b/src/sigfn.cpp @@ -1,5 +1,5 @@ /* -** Copyright 2024 John R. Patek Sr. +** Copyright 2024 Maxtek Consulting ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal diff --git a/tests/unit.cpp b/tests/unit.cpp index 9de2a31..44dd809 100644 --- a/tests/unit.cpp +++ b/tests/unit.cpp @@ -1,5 +1,5 @@ /* -** Copyright 2024 John R. Patek Sr. +** Copyright 2024 Maxtek Consulting ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal