Skip to content

Safestring include toupper header #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
2 changes: 2 additions & 0 deletions include/safe_lib_errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
#ifdef __KERNEL__
# include <linux/errno.h>
#else
#ifndef __LOCAL_ERRNO__
#include <errno.h>
#endif
#endif /* __KERNEL__ */

/*
Expand Down
2 changes: 2 additions & 0 deletions include/safe_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ typedef int errno_t;

#include <inttypes.h>
#include <stdint.h>
#ifndef __LOCAL_ERRNO__
#include <errno.h>
#endif

typedef int errno_t;

Expand Down
2 changes: 1 addition & 1 deletion safeclib/strcasecmp_s.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include "safeclib_private.h"
#include "safe_str_constraint.h"
#include "safe_str_lib.h"

#include <ctype.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

safeclib_private.h has it defined, can you re-check? Or you missed STDC_HEADERS somehow


/**
* NAME
Expand Down