~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/bmove_upp.cc

  • Committer: Brian Aker
  • Date: 2009-02-10 00:14:40 UTC
  • Revision ID: brian@tangent.org-20090210001440-qjg8eofh3h93064b
Adding Multi-threaded Scheduler into the system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
   You should have received a copy of the GNU General Public License
13
13
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
16
/*  File   : bmove.c
17
17
    Author : Michael widenius
22
22
    "src-len" to the destination "dst-len" counting downwards.
23
23
*/
24
24
 
25
 
#include <config.h>
26
 
 
27
 
#include <drizzled/internal/m_string.h>
28
 
 
29
 
namespace drizzled
30
 
{
31
 
namespace internal
32
 
{
33
 
 
34
 
void bmove_upp(unsigned char *dst, const unsigned char *src, size_t len)
 
25
#include "m_string.h"
 
26
 
 
27
void bmove_upp(register unsigned char *dst, register const unsigned char *src,
 
28
               register size_t len)
35
29
{
36
30
  while (len-- != 0) *--dst = *--src;
37
31
}
38
 
 
39
 
} /* namespace internal */
40
 
} /* namespace drizzled */