From dbd07b6ade56b28a73c4fe185db94748ceb00e4b Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sun, 27 Oct 2013 01:46:34 +0200 Subject: [PATCH] Update to current coding conventions. --- libc/include/sys/syscall.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libc/include/sys/syscall.h b/libc/include/sys/syscall.h index 6b3b4c73..69a4d823 100644 --- a/libc/include/sys/syscall.h +++ b/libc/include/sys/syscall.h @@ -26,8 +26,8 @@ #error "This file is part of user-space and should not be built in kernel mode" #endif -#ifndef _SYS_SYSCALL_H -#define _SYS_SYSCALL_H 1 +#ifndef INCLUDE_SYS_SYSCALL_H +#define INCLUDE_SYS_SYSCALL_H #include @@ -52,7 +52,7 @@ #else -#error Provide an implementation for your platform. +#error "Provide an implementation for your platform." #endif @@ -73,7 +73,7 @@ SYSCALL_FUNCTION_BODY(syscall_index) \ #define DEFINE_SYSCALL(syscall_type, syscall_name, syscall_index, syscall_formals) \ SYSCALL_FUNCTION(syscall_name, syscall_index) \ __BEGIN_DECLS \ -extern "C" { syscall_type syscall_name syscall_formals; } \ +syscall_type syscall_name syscall_formals; \ __END_DECLS \ /* System call accepting no parameters. */