diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-16 16:05:08 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-16 16:05:08 +0000 |
commit | f8a2fb3042d58963a00fe808d18f84eec6a0be71 (patch) | |
tree | 9f122b32d69abfaf364eab636ef8cc5bd7b730a2 /nuttx/arch/sh/src/sh1/sh1_irq.c | |
parent | f66691d238faf4858c8c9f5c5a53f118a1e1ab8e (diff) | |
download | px4-nuttx-f8a2fb3042d58963a00fe808d18f84eec6a0be71.tar.gz px4-nuttx-f8a2fb3042d58963a00fe808d18f84eec6a0be71.tar.bz2 px4-nuttx-f8a2fb3042d58963a00fe808d18f84eec6a0be71.zip |
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2357 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/sh/src/sh1/sh1_irq.c')
-rw-r--r-- | nuttx/arch/sh/src/sh1/sh1_irq.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/nuttx/arch/sh/src/sh1/sh1_irq.c b/nuttx/arch/sh/src/sh1/sh1_irq.c index 76c157f4f..c5b33cc3e 100644 --- a/nuttx/arch/sh/src/sh1/sh1_irq.c +++ b/nuttx/arch/sh/src/sh1/sh1_irq.c @@ -1,7 +1,7 @@ /**************************************************************************** * arch/sh/src/sh1/sh1_irq.c * - * Copyright (C) 2008 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ #include <nuttx/config.h> -#include <sys/types.h> +#include <stdint.h> #include <errno.h> #include <debug.h> @@ -57,7 +57,7 @@ * Public Data ****************************************************************************/ -uint32 *current_regs; +uint32_t *current_regs; /**************************************************************************** * Private Data @@ -98,10 +98,10 @@ void up_irqinitialize(void) void up_prioritize_irq(int irq, int priority) { - uint16 mask; - uint16 reg16; - uint32 reg; - int shift; + uint16_t mask; + uint16_t reg16; + uint32_t reg; + int shift; #ifdef CONFIG_DEBUG if ((unsigned) irq > NR_IRQS || (unsigned)priority > 15) |