Skip to content

Commit

Permalink
Our shit is so broke...
Browse files Browse the repository at this point in the history
  • Loading branch information
Siguza committed Jun 25, 2021
1 parent 6dfcb30 commit 9fd3756
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/kernel/support/process.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
/*
* pongoOS - https://checkra.in
*
*
* Copyright (C) 2019-2021 checkra1n team
*
* This file is part of pongoOS.
Expand All @@ -11,25 +11,22 @@
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*
*/
#include <pongo.h>
#include <sys/errno.h>

#undef errno
int errno;

pid_t _getpid(void)
{
return task_current()->pid;
Expand Down

0 comments on commit 9fd3756

Please sign in to comment.