Ignore:
Timestamp:
Jan 24, 2010, 10:58:17 PM (10 years ago)
Author:
Sam Hocevar
Message:

Fix the source code to reduce testsuite errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/kernel/kernel.h

    r4159 r4300  
    11/*
    2  *  libcaca       
     2 *  libcaca
    33 *  libcaca       Colour ASCII-Art library
    44 *  Copyright (c) 2006 Sam Hocevar <sam@hocevar.net>
     
    2727void enable_interrupt(char i);
    2828
     29#define cli __asm__("cli" : : )
     30#define sti __asm__("sti" : : )
    2931
    30 #define cli             __asm__("cli"::)
    31 #define sti             __asm__("sti"::)
    32 
    33 #define rdtsc(low,high) \
    34 __asm__ __volatile__("rdtsc" : "=a" (low), "=d" (high))
    35 
     32#define rdtsc(low, high) \
     33    __asm__ __volatile__("rdtsc" : "=a" (low), "=d" (high))
    3634
    3735/* The application's entry point */
Note: See TracChangeset for help on using the changeset viewer.