ran comment.sh script on files to clean up cpp comments.
This commit is contained in:
@@ -1,30 +1,30 @@
|
|||||||
// The following functions must be written in ARM mode
|
/* The following functions must be written in ARM mode */
|
||||||
// these functions are called directly by an exception vector
|
/* these functions are called directly by an exception vector */
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
/*------------------------------------------------------------------------------ */
|
||||||
// Internal functions
|
/* Internal functions */
|
||||||
//------------------------------------------------------------------------------
|
/*------------------------------------------------------------------------------ */
|
||||||
//------------------------------------------------------------------------------
|
/*------------------------------------------------------------------------------ */
|
||||||
/// Default spurious interrupt handler. Infinite loop.
|
/* Default spurious interrupt handler. Infinite loop. */
|
||||||
//------------------------------------------------------------------------------
|
/*------------------------------------------------------------------------------ */
|
||||||
void AT91F_Spurious_handler(
|
void AT91F_Spurious_handler(
|
||||||
void)
|
void)
|
||||||
{
|
{
|
||||||
while (1);
|
while (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
/*------------------------------------------------------------------------------ */
|
||||||
/// Default handler for fast interrupt requests. Infinite loop.
|
/* Default handler for fast interrupt requests. Infinite loop. */
|
||||||
//------------------------------------------------------------------------------
|
/*------------------------------------------------------------------------------ */
|
||||||
void AT91F_Default_FIQ_handler(
|
void AT91F_Default_FIQ_handler(
|
||||||
void)
|
void)
|
||||||
{
|
{
|
||||||
while (1);
|
while (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
/*------------------------------------------------------------------------------ */
|
||||||
/// Default handler for standard interrupt requests. Infinite loop.
|
/* Default handler for standard interrupt requests. Infinite loop. */
|
||||||
//------------------------------------------------------------------------------
|
/*------------------------------------------------------------------------------ */
|
||||||
void AT91F_Default_IRQ_handler(
|
void AT91F_Default_IRQ_handler(
|
||||||
void)
|
void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
#include <uci_config.h>
|
#include <uci_config.h>
|
||||||
#include <uci.h>
|
#include <uci.h>
|
||||||
#include "ucix.h"
|
#include "ucix.h"
|
||||||
//#include "log.h"
|
/*#include "log.h" */
|
||||||
|
|
||||||
static struct uci_ptr ptr;
|
static struct uci_ptr ptr;
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ struct uci_context *ucix_init(
|
|||||||
const char *config_file)
|
const char *config_file)
|
||||||
{
|
{
|
||||||
struct uci_context *ctx = uci_alloc_context();
|
struct uci_context *ctx = uci_alloc_context();
|
||||||
// uci_add_history_path(ctx, "/var/state");
|
/* uci_add_history_path(ctx, "/var/state"); */
|
||||||
uci_add_delta_path(ctx, "/var/state");
|
uci_add_delta_path(ctx, "/var/state");
|
||||||
if (uci_load(ctx, config_file, NULL) != UCI_OK) {
|
if (uci_load(ctx, config_file, NULL) != UCI_OK) {
|
||||||
fprintf(stderr, "%s/%s is missing or corrupt\n", ctx->savedir,
|
fprintf(stderr, "%s/%s is missing or corrupt\n", ctx->savedir,
|
||||||
|
|||||||
Reference in New Issue
Block a user