Skip to content

Commit

Permalink
updated license header and changed main function to be consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpatek committed Mar 8, 2024
1 parent 3c0b0a8 commit 9c0cee7
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions examples/pause.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion examples/pause.cpp
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion include/sigfn.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion include/sigfn.hpp
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/sigfn.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/sigfn.cpp
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/unit.cpp
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9c0cee7

Please sign in to comment.