~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/bmove_upp.c

Merged vcol stuff.

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