~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/bmove_upp.cc

  • Committer: Brian Aker
  • Date: 2010-06-05 00:15:57 UTC
  • mfrom: (1589.1.1 drizzle_events)
  • Revision ID: brian@gaz-20100605001557-j1k41ni5k9mis891
Merge in Barry.

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>
 
25
#include "config.h"
26
26
 
27
 
#include <drizzled/internal/m_string.h>
 
27
#include "drizzled/internal/m_string.h"
28
28
 
29
29
namespace drizzled
30
30
{
31
31
namespace internal
32
32
{
33
33
 
34
 
void bmove_upp(unsigned char *dst, const unsigned char *src, size_t len)
 
34
void bmove_upp(register unsigned char *dst, register const unsigned char *src,
 
35
               register size_t len)
35
36
{
36
37
  while (len-- != 0) *--dst = *--src;
37
38
}