Skip to content

Commit

Permalink
codingstd fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nwellnhof committed Feb 16, 2011
1 parent 6de456e commit d57ddd2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions src/dynpmc/os.pmc
Expand Up @@ -28,16 +28,9 @@ static PMC * stat_buf_to_array(PARROT_INTERP,
__attribute__nonnull__(1)
__attribute__nonnull__(2);

static int win32_can_execute(PARROT_INTERP, ARGIN(STRING *filename))
__attribute__nonnull__(1)
__attribute__nonnull__(2);

#define ASSERT_ARGS_stat_buf_to_array __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp) \
, PARROT_ASSERT_ARG(buf))
#define ASSERT_ARGS_win32_can_execute __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp) \
, PARROT_ASSERT_ARG(filename))
/* Don't modify between HEADERIZER BEGIN / HEADERIZER END. Your changes will be lost. */
/* HEADERIZER END: static */

Expand Down
2 changes: 1 addition & 1 deletion t/dynpmc/os.t
Expand Up @@ -330,7 +330,7 @@ if ( $cygwin ) {
}

if ( $MSWin32 ) {
$s[0] = 0; # dev: we use dwVolumeSerialNumber instead of drive letter
$s[0] = 0; # dev: we use dwVolumeSerialNumber instead of drive letter
$s[2] = 0777; # mode: always 0777 on Windows
$s[3] = 0; # nlink: only implemented in fstat for now
$s[6] = 0; # rdev: we use zero instead of drive letter
Expand Down

0 comments on commit d57ddd2

Please sign in to comment.